mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 23:21:58 +00:00
fix statue being tangible for ~40 tics post burst mobj spawn
This commit is contained in:
parent
e6780f2bee
commit
aa8410c612
1 changed files with 3 additions and 0 deletions
|
@ -1405,6 +1405,9 @@ void A_StatueBurst(mobj_t *actor)
|
||||||
if (LUA_CallAction(A_STATUEBURST, actor))
|
if (LUA_CallAction(A_STATUEBURST, actor))
|
||||||
return;
|
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)))
|
if (!locvar1 || !(new = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue