1
0
Fork 0

(svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ends.

release/0.4.5
Darkvater 2005-04-24 19:04:56 +00:00
parent 762b5f7a75
commit 11dc0e1777
1 changed files with 7 additions and 4 deletions

View File

@ -181,10 +181,13 @@ void MusicLoop(void)
if (_song_is_active == false) if (_song_is_active == false)
return; return;
if (!_music_driver->is_song_playing() && _game_mode != GM_MENU) { if (!_music_driver->is_song_playing()) {
if (_game_mode != GM_MENU) {
StopMusic(); StopMusic();
SkipToNextSong(); SkipToNextSong();
PlayPlaylistSong(); PlayPlaylistSong();
} else
ResetMusic();
} }
} }