mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-11 13:01:19 +00:00
- fixed sounds not being serialized for hub travel.
Sound stopping was done in the wrong place - this killed the sound before they could be serialized for hub travel.
This commit is contained in:
parent
8671c39358
commit
d94cd20f2a
1 changed files with 3 additions and 3 deletions
|
@ -801,9 +801,6 @@ 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;
|
||||
|
@ -927,6 +924,9 @@ void G_DoCompleted (void)
|
|||
|
||||
finishstate = mode;
|
||||
|
||||
S_StopAllChannels();
|
||||
SN_StopAllSequences();
|
||||
|
||||
if (!ShouldDoIntermission(nextcluster, thiscluster))
|
||||
{
|
||||
G_WorldDone ();
|
||||
|
|
Loading…
Reference in a new issue