mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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.
|
// Probably a map hazard.
|
||||||
allowcombo = false;
|
allowcombo = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue