From aa8410c61251d7ead72e5b64e5e1e0bc7aed45c7 Mon Sep 17 00:00:00 2001 From: ashifolfi Date: Sun, 20 Nov 2022 18:46:41 -0500 Subject: [PATCH] fix statue being tangible for ~40 tics post burst mobj spawn --- src/p_enemy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_enemy.c b/src/p_enemy.c index 26465d10e..6b8825b67 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -1405,6 +1405,9 @@ void A_StatueBurst(mobj_t *actor) if (LUA_CallAction(A_STATUEBURST, actor)) return; + // make statue intangible upon spawning so you can't stand above the created object for 40 tics + actor->flags |= ~MF_SOLID; + if (!locvar1 || !(new = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1))) return;