mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Fixed: Don't start the MAPINFO music just to have it replaced by the saved music when returning to a level in a hub.
SVN r4175 (trunk)
This commit is contained in:
parent
478bfa6cf1
commit
ba0e0c2914
1 changed files with 3 additions and 2 deletions
|
@ -446,8 +446,9 @@ void S_Start ()
|
|||
// start new music for the level
|
||||
MusicPaused = false;
|
||||
|
||||
// [RH] This is a lot simpler now.
|
||||
if (!savegamerestore)
|
||||
// Don't start the music if loading a savegame, because the music is stored there.
|
||||
// Don't start the music if revisiting a level in a hub for the same reason.
|
||||
if (!savegamerestore && (level.info->snapshot == NULL || !level.info->isValid()))
|
||||
{
|
||||
if (level.cdtrack == 0 || !S_ChangeCDMusic (level.cdtrack, level.cdid))
|
||||
S_ChangeMusic (level.Music, level.musicorder);
|
||||
|
|
Loading…
Reference in a new issue