mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 22:51:50 +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);
|
||||
gi->MenuOpened();
|
||||
if (makeSound) gi->MenuSound(ActivateSound);
|
||||
if (makeSound) M_MenuSound(ActivateSound);
|
||||
|
||||
inputState.ClearAllInput();
|
||||
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)
|
||||
{
|
||||
gi->MenuSound(CursorSound);
|
||||
M_MenuSound(CursorSound);
|
||||
}
|
||||
messageSelection = sel;
|
||||
if (type == MOUSE_Release)
|
||||
|
|
Loading…
Reference in a new issue