mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Rednukem: fix longstanding bug with unfrozen GREENSLIME
Backported from eduke32
This commit is contained in:
parent
d2806393bb
commit
22e0c4d9ae
1 changed files with 3 additions and 1 deletions
|
@ -5268,7 +5268,7 @@ ACTOR_STATIC void G_MoveActors(void)
|
|||
if (pData[3] > 280)
|
||||
{
|
||||
pSprite->pal = 0;
|
||||
pData[0] = 0;
|
||||
pData[0] = pData[3] = 0;
|
||||
goto next_sprite;
|
||||
}
|
||||
A_Fall(spriteNum);
|
||||
|
@ -5371,6 +5371,8 @@ ACTOR_STATIC void G_MoveActors(void)
|
|||
{
|
||||
static const char slimeFrames[] = { 5, 5, 6, 6, 7, 7, 6, 5 };
|
||||
|
||||
Bassert(pData[3] < ARRAY_SSIZE(slimeFrames));
|
||||
|
||||
pSprite->picnum = GREENSLIME + slimeFrames[pData[3]];
|
||||
|
||||
if (pData[3] == 5)
|
||||
|
|
Loading…
Reference in a new issue