- fixed: Loading a savegame with music switched off forced a restart of the map's default music
because starting an empty music was considered an error. SVN r2272 (trunk)
This commit is contained in:
parent
7bd741a644
commit
d875a0c674
2 changed files with 7 additions and 2 deletions
|
|
@ -122,7 +122,12 @@ bool FPlayList::ChangeList (const char *path)
|
|||
// Path is relative; append it to the playlist directory.
|
||||
song = playlistdir + song;
|
||||
}
|
||||
Songs.Push(song);
|
||||
|
||||
// Just to make sure
|
||||
if (song.IsNotEmpty())
|
||||
{
|
||||
Songs.Push(song);
|
||||
}
|
||||
}
|
||||
fclose (file);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue