Fix Mine omega combo (instant death)

This commit is contained in:
James R 2024-01-17 20:27:57 -08:00
parent 89d1c29c80
commit f7e3ea76d1

View file

@ -2830,6 +2830,15 @@ static boolean P_FlashingException(const player_t *player, const mobj_t *inflict
return false;
}
if (inflictor->type == MT_SSMINE)
{
// Mine's first hit is DMG_EXPLODE.
// Afterward, it leaves a spinout hitbox which remains for a short period.
// If the spinout hitbox ignored flashing tics, you would be combod every tic and die instantly.
// DMG_EXPLODE already ignores flashing tics (correct behavior).
return false;
}
if (!P_IsKartItem(inflictor->type) && inflictor->type != MT_PLAYER)
{
// Exception only applies to player items.