Remove itnext at top of MobjThinker also
This commit is contained in:
parent
2864b2abd6
commit
6b6b180738
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue