Doing this looks more appealing to me
This commit is contained in:
parent
8a06e78ab6
commit
c63518e0b2
|
@ -1734,16 +1734,11 @@ void P_DoPlayerExit(player_t *player)
|
||||||
{
|
{
|
||||||
sfxenum_t sfx_id;
|
sfxenum_t sfx_id;
|
||||||
if (K_IsPlayerLosing(player))
|
if (K_IsPlayerLosing(player))
|
||||||
{
|
|
||||||
sfx_id = ((skin_t *)player->mo->skin)->soundsid[S_sfx[sfx_klose].skinsound];
|
sfx_id = ((skin_t *)player->mo->skin)->soundsid[S_sfx[sfx_klose].skinsound];
|
||||||
S_StartSound(NULL, sfx_id);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
sfx_id = ((skin_t *)player->mo->skin)->soundsid[S_sfx[sfx_kwin].skinsound];
|
sfx_id = ((skin_t *)player->mo->skin)->soundsid[S_sfx[sfx_kwin].skinsound];
|
||||||
S_StartSound(NULL, sfx_id);
|
S_StartSound(NULL, sfx_id);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (K_IsPlayerLosing(player))
|
if (K_IsPlayerLosing(player))
|
||||||
|
|
Loading…
Reference in a new issue