mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix Bubble blowup vs Invincibility sfx spam
This commit is contained in:
parent
e5e23e788a
commit
e85b769dc5
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue