mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Remove itnext at top of MobjThinker also
This commit is contained in:
parent
31009264ca
commit
e340d9b701
1 changed files with 2 additions and 0 deletions
|
|
@ -9394,6 +9394,8 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
P_SetTarget(&mobj->hnext, NULL);
|
P_SetTarget(&mobj->hnext, NULL);
|
||||||
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
|
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
|
||||||
P_SetTarget(&mobj->hprev, NULL);
|
P_SetTarget(&mobj->hprev, NULL);
|
||||||
|
if (mobj->itnext && P_MobjWasRemoved(mobj->itnext))
|
||||||
|
P_SetTarget(&mobj->itnext, NULL);
|
||||||
|
|
||||||
if (mobj->flags & MF_NOTHINK)
|
if (mobj->flags & MF_NOTHINK)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue