mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
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:
commit
0218f9c2fa
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))
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue