Merge branch 'fix-pit_checkthing-crash' into 'next'
Check against null tmpusher source before attempting to push a thing. See merge request STJr/SRB2!1413
Showing with 3 additions and 0 deletions
|...||...||@@ -8458,6 +8458,9 @@ static inline boolean PIT_PushThing(mobj_t *thing)|
|if (thing->player && thing->player->powers[pw_carry] == CR_ROPEHANG)|
|// Allow this to affect pushable objects at some point?|
|if (thing->player && (!(thing->flags & (MF_NOGRAVITY | MF_NOCLIP)) || thing->player->powers[pw_carry] == CR_NIGHTSMODE))|