mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-22 03:21:07 +00:00
Revert "- Exhumed: Fix OOB frame with the rat."
This reverts commitfe356f3183
. * The applied fix in1cb15ed878
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:
parent
6faaa3844f
commit
f800d6937c
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue