From c63518e0b2e2c08b9e783660bef67219405faa60 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sat, 22 Sep 2018 20:15:12 -0400 Subject: [PATCH] Doing this looks more appealing to me --- src/p_user.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/p_user.c b/src/p_user.c index 2d36e207..9ac131b4 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1734,15 +1734,10 @@ void P_DoPlayerExit(player_t *player) { sfxenum_t sfx_id; if (K_IsPlayerLosing(player)) - { sfx_id = ((skin_t *)player->mo->skin)->soundsid[S_sfx[sfx_klose].skinsound]; - S_StartSound(NULL, sfx_id); - } else - { sfx_id = ((skin_t *)player->mo->skin)->soundsid[S_sfx[sfx_kwin].skinsound]; - S_StartSound(NULL, sfx_id); - } + S_StartSound(NULL, sfx_id); } else {