mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-01 09:29:32 +01:00
(svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session.
This commit is contained in:
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) {
|
||||||
PlayPlaylistSong();
|
if (_game_mode != GM_MENU) {
|
||||||
|
PlayPlaylistSong();
|
||||||
|
} else {
|
||||||
|
ResetMusic();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_song_is_active) return;
|
if (!_song_is_active) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user