- unpause sound when starting the demo loop.

This commit is contained in:
Christoph Oelckers 2020-02-17 18:40:32 +01:00
parent 2182b4b1d4
commit dcad616030
3 changed files with 8 additions and 1 deletions

View file

@ -920,6 +920,11 @@ void M_Drawer (void)
//
//=============================================================================
void M_UnpauseSound()
{
GSnd->SetSfxPaused(false, PAUSESFX_MENU);
}
void M_ClearMenus (bool final)
{
if (menuactive == MENU_Off) return;
@ -936,7 +941,7 @@ void M_ClearMenus (bool final)
}
DMenu::CurrentMenu = nullptr;
menuactive = MENU_Off;
GSnd->SetSfxPaused(false, PAUSESFX_MENU);
M_UnpauseSound();
if (!final)
{
mouseGrabInput(true);