mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-06 01:11:11 +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)
|
if (automapactive)
|
||||||
AM_Stop ();
|
AM_Stop ();
|
||||||
|
|
||||||
S_StopAllChannels();
|
|
||||||
SN_StopAllSequences();
|
|
||||||
|
|
||||||
wminfo.finished_ep = level.cluster - 1;
|
wminfo.finished_ep = level.cluster - 1;
|
||||||
wminfo.LName0 = TexMan.CheckForTexture(level.info->PName, ETextureType::MiscPatch);
|
wminfo.LName0 = TexMan.CheckForTexture(level.info->PName, ETextureType::MiscPatch);
|
||||||
if (!(level.info->flags3 & LEVEL3_HIDEAUTHORNAME)) wminfo.thisauthor = level.info->AuthorName;
|
if (!(level.info->flags3 & LEVEL3_HIDEAUTHORNAME)) wminfo.thisauthor = level.info->AuthorName;
|
||||||
|
@ -927,6 +924,9 @@ void G_DoCompleted (void)
|
||||||
|
|
||||||
finishstate = mode;
|
finishstate = mode;
|
||||||
|
|
||||||
|
S_StopAllChannels();
|
||||||
|
SN_StopAllSequences();
|
||||||
|
|
||||||
if (!ShouldDoIntermission(nextcluster, thiscluster))
|
if (!ShouldDoIntermission(nextcluster, thiscluster))
|
||||||
{
|
{
|
||||||
G_WorldDone ();
|
G_WorldDone ();
|
||||||
|
|
Loading…
Reference in a new issue