PIT_SSMineExplode: don't do spinout damage to UFO Catcher

This commit is contained in:
James R 2023-08-12 17:05:57 -07:00
parent b15a770f89
commit 91170d9287

View file

@ -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);