mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 00:12:27 +00:00
Check against null tmpusher source before attempting to push a thing.
# Conflicts: # src/p_spec.c
This commit is contained in:
parent
4563722695
commit
fab0897800
1 changed files with 3 additions and 0 deletions
|
|
@ -8351,6 +8351,9 @@ static inline boolean PIT_PushThing(mobj_t *thing)
|
|||
if (thing->eflags & MFE_PUSHED)
|
||||
return false;
|
||||
|
||||
if (!tmpusher->source)
|
||||
return false;
|
||||
|
||||
// Allow this to affect pushable objects at some point?
|
||||
if (thing->player && !(thing->flags & (MF_NOGRAVITY | MF_NOCLIP)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue