mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ends.
This commit is contained in:
parent
762b5f7a75
commit
11dc0e1777
11
music_gui.c
11
music_gui.c
|
@ -181,10 +181,13 @@ void MusicLoop(void)
|
|||
if (_song_is_active == false)
|
||||
return;
|
||||
|
||||
if (!_music_driver->is_song_playing() && _game_mode != GM_MENU) {
|
||||
StopMusic();
|
||||
SkipToNextSong();
|
||||
PlayPlaylistSong();
|
||||
if (!_music_driver->is_song_playing()) {
|
||||
if (_game_mode != GM_MENU) {
|
||||
StopMusic();
|
||||
SkipToNextSong();
|
||||
PlayPlaylistSong();
|
||||
} else
|
||||
ResetMusic();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue