mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-07 07:21:10 +00:00
Fix detection of menu sounds in EVENT_SOUND
git-svn-id: https://svn.eduke32.com/eduke32@5875 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
543e7f67c2
commit
f5363194ff
1 changed files with 2 additions and 1 deletions
|
@ -1102,7 +1102,6 @@ void G_DisplayRest(int32_t smoothratio)
|
||||||
{
|
{
|
||||||
I_EscapeTriggerClear();
|
I_EscapeTriggerClear();
|
||||||
S_PauseSounds(1);
|
S_PauseSounds(1);
|
||||||
S_MenuSound();
|
|
||||||
|
|
||||||
M_OpenMenu(myconnectindex);
|
M_OpenMenu(myconnectindex);
|
||||||
|
|
||||||
|
@ -1111,6 +1110,8 @@ void G_DisplayRest(int32_t smoothratio)
|
||||||
if (g_player[myconnectindex].ps->gm&MODE_GAME) M_ChangeMenu(MENU_MAIN_INGAME);
|
if (g_player[myconnectindex].ps->gm&MODE_GAME) M_ChangeMenu(MENU_MAIN_INGAME);
|
||||||
else M_ChangeMenu(MENU_MAIN);
|
else M_ChangeMenu(MENU_MAIN);
|
||||||
screenpeek = myconnectindex;
|
screenpeek = myconnectindex;
|
||||||
|
|
||||||
|
S_MenuSound();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue