Revert "- Exhumed: Fix OOB frame with the rat."

This reverts commit fe356f3183.

* The applied fix in 1cb15ed878 covers this and probably does it in a better manner (i.e., play the last frame again vs. resetting the frame sequence).
This commit is contained in:
Mitchell Richters 2024-01-05 20:55:51 +11:00
parent 6faaa3844f
commit f800d6937c

View file

@ -275,12 +275,6 @@ void AIRat::Tick(RunListEvent* ev)
pActor->nCount = RandomSize(5) + 4;
pActor->nPhase--;
if (pActor->nFrame >= ratSeq->frames.Size())
{
bVal = true;
pActor->nFrame = 0;
}
if (pActor->nPhase <= 0)
{
auto pFoodSprite = FindFood(pActor);