Make SE_13_EXPLOSIVE call A_GetZLimits() for all statnum 0-2 sprites in sector when triggering

This fixes the fire sprites inside exploding walls not waking up after the wall explodes.

git-svn-id: https://svn.eduke32.com/eduke32@8723 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2020-03-12 00:58:28 +00:00 committed by Christoph Oelckers
parent 7ed8f5aec4
commit 8c5e3116c9
1 changed files with 4 additions and 0 deletions

View File

@ -6958,6 +6958,10 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
}
}
for (int SPRITES_OF_SECT(pSprite->sectnum, p))
if (sprite[p].statnum >= STAT_DEFAULT && sprite[p].statnum <= STAT_ZOMBIEACTOR)
A_GetZLimits(p);
if (++pData[2] > 256)
DELETE_SPRITE_AND_CONTINUE(spriteNum);
}