mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Check for inflictor in stationary object combo
This commit is contained in:
parent
2ec203822f
commit
63c654c68c
1 changed files with 1 additions and 1 deletions
|
|
@ -3181,7 +3181,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
}
|
||||
}
|
||||
|
||||
if (inflictor->momx == 0 && inflictor->momy == 0 && inflictor->momz == 0)
|
||||
if (inflictor && !P_MobjWasRemoved(inflictor) && inflictor->momx == 0 && inflictor->momy == 0 && inflictor->momz == 0)
|
||||
{
|
||||
// Probably a map hazard.
|
||||
allowcombo = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue