mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-11 04:51:13 +00:00
- stop all sounds after exiting level regardless of intermission screen
https://forum.zdoom.org/viewtopic.php?t=67521 # Conflicts: # src/g_level.cpp # src/wi_stuff.cpp
This commit is contained in:
parent
ffc3c4a530
commit
b99da999a5
2 changed files with 3 additions and 2 deletions
|
@ -767,6 +767,9 @@ void G_DoCompleted (void)
|
|||
if (automapactive)
|
||||
AM_Stop ();
|
||||
|
||||
S_StopAllChannels();
|
||||
SN_StopAllSequences();
|
||||
|
||||
wminfo.finished_ep = level.cluster - 1;
|
||||
wminfo.LName0 = TexMan.CheckForTexture(level.info->PName, ETextureType::MiscPatch);
|
||||
if (!(level.info->flags3 & LEVEL3_HIDEAUTHORNAME)) wminfo.thisauthor = level.info->AuthorName;
|
||||
|
|
|
@ -774,8 +774,6 @@ void WI_Start(wbstartstruct_t *wbstartstruct)
|
|||
}
|
||||
else wbstartstruct->nextname = info->LookupLevelName();
|
||||
V_SetBlend(0, 0, 0, 0);
|
||||
S_StopAllChannels();
|
||||
SN_StopAllSequences();
|
||||
WI_Screen = cls->CreateNew();
|
||||
IFVIRTUALPTRNAME(WI_Screen, "StatusScreen", Start)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue