mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-20 21:52:33 +00:00
SPB explosion ignores Grow
This commit is contained in:
parent
00643195a5
commit
cd081ecc47
1 changed files with 3 additions and 1 deletions
|
|
@ -2935,7 +2935,9 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
|||
{
|
||||
sfx = sfx_invind;
|
||||
}
|
||||
else if (K_IsBigger(target, inflictor) == true)
|
||||
else if (K_IsBigger(target, inflictor) == true &&
|
||||
// SPB bypasses grow (K_IsBigger handles NULL check)
|
||||
(type != DMG_EXPLODE || inflictor->type != MT_SPBEXPLOSION || !inflictor->movefactor))
|
||||
{
|
||||
sfx = sfx_grownd;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue