mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
This doesn't work
1.) I mixed it up, so opponent win/lose quotes would play globally instead of your own 2.) You can't even play skin-specific sounds globally, so it'd always be Sonic
This commit is contained in:
parent
2564d2f017
commit
a745417a3f
1 changed files with 2 additions and 2 deletions
|
@ -1731,9 +1731,9 @@ void P_DoPlayerExit(player_t *player)
|
|||
if (cv_kartvoices.value)
|
||||
{
|
||||
if (K_IsPlayerLosing(player))
|
||||
S_StartSound((P_IsLocalPlayer(player) ? player->mo : NULL), sfx_klose);
|
||||
S_StartSound(player->mo, sfx_klose);
|
||||
else
|
||||
S_StartSound((P_IsLocalPlayer(player) ? player->mo : NULL), sfx_kwin);
|
||||
S_StartSound(player->mo, sfx_kwin);
|
||||
}
|
||||
|
||||
player->exiting = 3*TICRATE;
|
||||
|
|
Loading…
Reference in a new issue