Merge branch 'fix-suspicious-statue' into 'next'

Fix suspicious statue still being tangible for ~40 tics after spawning lance-a-bot

Closes #856

See merge request STJr/SRB2!1882
This commit is contained in:
sphere 2022-11-25 19:51:15 +00:00
commit 0218f9c2fa

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;