mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- fixed some issues with prematurely terminated sounds.
This commit is contained in:
parent
3cfba26bec
commit
294a806793
4 changed files with 4 additions and 5 deletions
|
@ -209,7 +209,7 @@ static void GameTicker()
|
|||
case ga_mainmenunostopsound:
|
||||
gi->FreeLevelData();
|
||||
gamestate = GS_MENUSCREEN;
|
||||
M_StartControlPanel(false);
|
||||
M_StartControlPanel(ga == ga_mainmenu);
|
||||
M_SetMenu(NAME_Mainmenu);
|
||||
break;
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ void GameInterface::MenuOpened()
|
|||
{
|
||||
GrabPalette();
|
||||
menuDelegate->FloatVar(NAME_zoomsize) = 0;
|
||||
StopAllSounds();
|
||||
StopLocalSound();
|
||||
}
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ static void Intermission(MapRecord *from_map, MapRecord *to_map)
|
|||
{
|
||||
TArray<JobDesc> jobs;
|
||||
|
||||
StopAllSounds();
|
||||
if (from_map) StopAllSounds();
|
||||
bCamera = false;
|
||||
automapMode = am_off;
|
||||
|
||||
|
|
|
@ -133,8 +133,8 @@ void GameInterface::Startup()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!userConfig.nologo) fi.ShowLogo([](bool) { gameaction = ga_mainmenu; });
|
||||
else gameaction = ga_mainmenu;
|
||||
if (!userConfig.nologo) fi.ShowLogo([](bool) { gameaction = ga_mainmenunostopsound; });
|
||||
else gameaction = ga_mainmenunostopsound;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue