- 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:
alexey.lysiuk 2020-02-23 16:16:23 +02:00 committed by drfrag
parent ffc3c4a530
commit b99da999a5
2 changed files with 3 additions and 2 deletions

View file

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

View file

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