mirror of https://github.com/OpenTTD/OpenTTD
(svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session.
parent
edc2a62669
commit
835a9670af
|
@ -174,7 +174,11 @@ void MusicLoop()
|
||||||
if (!msf.playing && _song_is_active) {
|
if (!msf.playing && _song_is_active) {
|
||||||
StopMusic();
|
StopMusic();
|
||||||
} else if (msf.playing && !_song_is_active) {
|
} else if (msf.playing && !_song_is_active) {
|
||||||
|
if (_game_mode != GM_MENU) {
|
||||||
PlayPlaylistSong();
|
PlayPlaylistSong();
|
||||||
|
} else {
|
||||||
|
ResetMusic();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_song_is_active) return;
|
if (!_song_is_active) return;
|
||||||
|
|
Loading…
Reference in New Issue