mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- always play menu sounds by calling M_MenuSound to check the menu_sounds CVAR.
This commit is contained in:
parent
d083e12967
commit
e434df5328
2 changed files with 2 additions and 2 deletions
|
@ -375,7 +375,7 @@ void M_StartControlPanel (bool makeSound)
|
||||||
}
|
}
|
||||||
GSnd->SetSfxPaused(true, PAUSESFX_MENU);
|
GSnd->SetSfxPaused(true, PAUSESFX_MENU);
|
||||||
gi->MenuOpened();
|
gi->MenuOpened();
|
||||||
if (makeSound) gi->MenuSound(ActivateSound);
|
if (makeSound) M_MenuSound(ActivateSound);
|
||||||
|
|
||||||
inputState.ClearAllInput();
|
inputState.ClearAllInput();
|
||||||
for (int i = 0; i < NUM_MKEYS; ++i)
|
for (int i = 0; i < NUM_MKEYS; ++i)
|
||||||
|
|
|
@ -360,7 +360,7 @@ bool DMessageBoxMenu::MouseEvent(int type, int x, int y)
|
||||||
}
|
}
|
||||||
if (sel != -1 && sel != messageSelection)
|
if (sel != -1 && sel != messageSelection)
|
||||||
{
|
{
|
||||||
gi->MenuSound(CursorSound);
|
M_MenuSound(CursorSound);
|
||||||
}
|
}
|
||||||
messageSelection = sel;
|
messageSelection = sel;
|
||||||
if (type == MOUSE_Release)
|
if (type == MOUSE_Release)
|
||||||
|
|
Loading…
Reference in a new issue