mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
- fixed: When loading a savegame without music, stop any playing music.
This commit is contained in:
parent
9945131d3a
commit
c045096393
1 changed files with 4 additions and 0 deletions
|
@ -511,6 +511,10 @@ void S_RestartMusic ()
|
||||||
mus_playing.LastSong = "";
|
mus_playing.LastSong = "";
|
||||||
S_ChangeMusic (song, mus_playing.baseorder, mus_playing.loop, true);
|
S_ChangeMusic (song, mus_playing.baseorder, mus_playing.loop, true);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
S_StopMusic(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue