mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-15 19:22:21 +00:00
Check for null
This commit is contained in:
parent
bd495c7f55
commit
4abb14a158
1 changed files with 1 additions and 1 deletions
|
|
@ -1775,7 +1775,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
return false;
|
||||
|
||||
if (((damagetype & DMG_TYPEMASK) == DMG_STING)
|
||||
|| (inflictor->type == MT_BANANA && inflictor->health <= 1))
|
||||
|| ((inflictor && !P_MobjWasRemoved(inflictor)) && inflictor->type == MT_BANANA && inflictor->health <= 1))
|
||||
{
|
||||
laglength = 5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue