mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 18:21:10 +00:00
:amybruh:
This commit is contained in:
parent
18ccdd855a
commit
664bce71de
1 changed files with 8 additions and 5 deletions
13
src/p_mobj.c
13
src/p_mobj.c
|
@ -7977,15 +7977,18 @@ static void P_MobjSceneryThink(mobj_t *mobj)
|
|||
mobj->x = mobj->extravalue1 + P_ReturnThrustX(mobj, mobj->movedir, mobj->cvmem*mobj->scale);
|
||||
mobj->y = mobj->extravalue2 + P_ReturnThrustY(mobj, mobj->movedir, mobj->cvmem*mobj->scale);
|
||||
P_SetThingPosition(mobj);
|
||||
if ((--mobj->fuse) < 6)
|
||||
{
|
||||
if (!mobj->fuse)
|
||||
|
||||
// :amybruh:
|
||||
if (!mobj->fuse)
|
||||
{
|
||||
P_RemoveMobj(mobj);
|
||||
#ifdef HAVE_BLUA
|
||||
if (!LUAh_MobjFuse(mobj))
|
||||
#endif
|
||||
P_RemoveMobj(mobj);
|
||||
return;
|
||||
}
|
||||
if ((--mobj->fuse) < 6)
|
||||
mobj->frame = (mobj->frame & ~FF_TRANSMASK) | ((10 - (mobj->fuse*2)) << (FF_TRANSSHIFT));
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MT_VWREF:
|
||||
|
|
Loading…
Reference in a new issue