mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +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();
|
||||
S_PauseSounds(1);
|
||||
S_MenuSound();
|
||||
|
||||
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);
|
||||
else M_ChangeMenu(MENU_MAIN);
|
||||
screenpeek = myconnectindex;
|
||||
|
||||
S_MenuSound();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue