Merge branch 'fix-suspicious-statue' of git@git.do.srb2.org:ashi/SRB2.git into next-test

This commit is contained in:
LJ Sonic 2022-11-24 20:11:33 +01:00
commit a26e2a5f71

View file

@ -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;