Make Ring Burnout sound Only play for local players
This commit is contained in:
parent
6a122b0600
commit
614506381d
1 changed files with 4 additions and 1 deletions
|
|
@ -9101,7 +9101,10 @@ INT32 K_GetKartRingPower(player_t *player, boolean boosted)
|
|||
|
||||
// If you use more then 20 rings at a time, you start gaining less ring timer..
|
||||
if (player->ringtime == finalPower*20)
|
||||
S_StartSound(NULL, sfx_cdfm66);
|
||||
{
|
||||
if (P_IsLocalPlayer(player))
|
||||
S_StartSound(NULL, sfx_cdfm66);
|
||||
}
|
||||
else if (player->ringtime > finalPower*20)
|
||||
{
|
||||
finalPower = 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue