Do not continue to run thinker for MT_MAGICIANBOX if removed by running out of lifespan

This commit is contained in:
toaster 2023-01-08 15:31:48 +00:00
parent 79401a888f
commit a4a74a7d2f

View file

@ -7976,7 +7976,7 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
if (mobj->extravalue2 == 0)
{
P_RemoveMobj(mobj);
break;
return false;
}
else if (mobj->extravalue2 < TICRATE/3)
{
@ -8009,7 +8009,7 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
if (mobj->target->player->hyudorotimer)
{
P_RemoveMobj(mobj);
break;
return false;
}
else
{