mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_DamageMobj: Only play ringloss sound if rings are actually being lost
This commit is contained in:
parent
ceed74d052
commit
23609843e5
1 changed files with 1 additions and 2 deletions
|
|
@ -2342,10 +2342,9 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
player->flashing = K_GetKartFlashing(player);
|
player->flashing = K_GetKartFlashing(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
P_PlayRinglossSound(target);
|
|
||||||
|
|
||||||
if (ringburst > 0)
|
if (ringburst > 0)
|
||||||
{
|
{
|
||||||
|
P_PlayRinglossSound(target);
|
||||||
P_PlayerRingBurst(player, ringburst);
|
P_PlayerRingBurst(player, ringburst);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue