Fix Bubble blowup vs Invincibility sfx spam

This commit is contained in:
James R 2023-03-11 18:54:31 -08:00
parent e5e23e788a
commit e85b769dc5

View file

@ -698,7 +698,12 @@ boolean K_BubbleShieldCollide(mobj_t *t1, mobj_t *t2)
// Player Damage
P_DamageMobj(t2, t1->target, t1, 1, DMG_NORMAL|DMG_WOMBO);
S_StartSound(t1, sfx_s3k44);
if (t2->player->timeshit > t2->player->timeshitprev)
{
// Don't play from t1 else it gets cut out... for some reason.
S_StartSound(t2, sfx_s3k44);
}
}
else
{