From 8c5e3116c915b40149f0dfa198d5d8b904070b78 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 12 Mar 2020 00:58:28 +0000 Subject: [PATCH] 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 --- source/duke3d/src/actors.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index 819fb3d72..3449d9910 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -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); }