mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Menus: Don't play EXITMENUSOUND when trying to close a root menu outside of an active game.
git-svn-id: https://svn.eduke32.com/eduke32@6459 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
788ba4f373
commit
5967749a10
1 changed files with 2 additions and 1 deletions
|
@ -6100,7 +6100,8 @@ static void Menu_RunInput(Menu_t *cm)
|
|||
I_EscapeTriggerClear();
|
||||
m_mousecaught = 1;
|
||||
|
||||
S_PlaySound(EXITMENUSOUND);
|
||||
if (cm->parentID != MENU_CLOSE || (g_player[myconnectindex].ps->gm & MODE_GAME))
|
||||
S_PlaySound(EXITMENUSOUND);
|
||||
|
||||
Menu_AnimateChange(cm->parentID, cm->parentAnimation);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue