Remove itnext at top of MobjThinker also

This commit is contained in:
Sally Coolatta 2022-09-23 05:54:02 -04:00 committed by GenericHeroGuy
parent 2864b2abd6
commit 6b6b180738

View file

@ -8660,6 +8660,8 @@ void P_MobjThinker(mobj_t *mobj)
P_SetTarget(&mobj->hnext, NULL);
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
P_SetTarget(&mobj->hprev, NULL);
if (mobj->itnext && P_MobjWasRemoved(mobj->itnext))
P_SetTarget(&mobj->itnext, NULL);
if (mobj->flags & MF_NOTHINK)
return;