Move Obj_SPBExplode to correct place

This commit is contained in:
Sally Coolatta 2022-09-23 03:52:14 -04:00
parent fa63c67f04
commit 2786957fef

View file

@ -6269,11 +6269,6 @@ static void P_MobjSceneryThink(mobj_t *mobj)
case MT_DRIFTELECTRICSPARK:
mobj->renderflags ^= RF_DONTDRAW;
break;
case MT_SPB:
{
Obj_SPBExplode(mobj);
return;
}
case MT_VWREF:
case MT_VWREB:
{
@ -9358,6 +9353,11 @@ static boolean P_FuseThink(mobj_t *mobj)
P_RemoveMobj(mobj);
return false;
}
case MT_SPB:
{
Obj_SPBExplode(mobj);
break;
}
case MT_PLAYER:
break; // don't remove
default: