NULL itnext in general on removal

This commit is contained in:
Sally Coolatta 2022-09-23 05:51:14 -04:00 committed by GenericHeroGuy
parent fca0231cc7
commit 2864b2abd6

View file

@ -10007,6 +10007,8 @@ void P_RemoveMobj(mobj_t *mobj)
}
}
P_SetTarget(&mobj->itnext, NULL);
P_RemoveThingTID(mobj);
P_DeleteMobjStringArgs(mobj);
R_RemoveMobjInterpolator(mobj);