- always play menu sounds by calling M_MenuSound to check the menu_sounds CVAR.

This commit is contained in:
Christoph Oelckers 2020-08-02 22:16:26 +02:00
parent d083e12967
commit e434df5328
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)