mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
NULL itnext in general on removal
This commit is contained in:
parent
58f56de7cc
commit
31009264ca
1 changed files with 2 additions and 0 deletions
|
|
@ -10794,6 +10794,8 @@ void P_RemoveMobj(mobj_t *mobj)
|
|||
}
|
||||
}
|
||||
|
||||
P_SetTarget(&mobj->itnext, NULL);
|
||||
|
||||
// DBG: set everything in mobj_t to 0xFF instead of leaving it. debug memory error.
|
||||
#ifdef SCRAMBLE_REMOVED
|
||||
// Invalidate mobj_t data to cause crashes if accessed!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue