diff --git a/source/games/blood/src/ai.cpp b/source/games/blood/src/ai.cpp index 1d23125c5..cc78a1d20 100644 --- a/source/games/blood/src/ai.cpp +++ b/source/games/blood/src/ai.cpp @@ -1660,7 +1660,7 @@ void aiProcessDudes(void) if (pXSprite->aiState->moveFunc) pXSprite->aiState->moveFunc(actor); - if (pXSprite->aiState->thinkFunc && (gFrameCount & 3) == (actor->GetIndex() & 3)) // ouch, ouch! :( + if (pXSprite->aiState->thinkFunc && (gFrameCount & 3) == (pSprite->index & 3)) // ouch, ouch! :( pXSprite->aiState->thinkFunc(actor); }