From a745417a3f87f4cbf1725850b6f01a753082c067 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Tue, 28 Aug 2018 22:50:53 -0400 Subject: [PATCH] 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 --- src/p_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index f5fd405c..d2395aab 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -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;