mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-07 07:22:54 +00:00
PIT_SSMineExplode: don't do spinout damage to UFO Catcher
This commit is contained in:
parent
b15a770f89
commit
91170d9287
1 changed files with 7 additions and 0 deletions
|
|
@ -294,6 +294,13 @@ static inline BlockItReturn_t PIT_SSMineExplode(mobj_t *thing)
|
|||
if (PIT_SSMineChecks(thing) == true)
|
||||
return BMIT_CONTINUE;
|
||||
|
||||
// Don't do Big Boy Damage to the UFO Catcher with
|
||||
// lingering spinout damage
|
||||
if (thing->type == MT_SPECIAL_UFO && explodespin)
|
||||
{
|
||||
return BMIT_CONTINUE;
|
||||
}
|
||||
|
||||
P_DamageMobj(thing, grenade, grenade->target, 1, (explodespin ? DMG_NORMAL : DMG_EXPLODE));
|
||||
|
||||
lagadded = (thing->hitlag - oldhitlag);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue