- 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:
Randy Heit 2013-03-08 02:34:26 +00:00
parent 478bfa6cf1
commit ba0e0c2914
1 changed files with 3 additions and 2 deletions

View File

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