From 835a9670af57436c165718c6df1d86020b862c14 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 14 Oct 2007 19:46:00 +0000 Subject: (svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session. --- src/music_gui.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/music_gui.cpp b/src/music_gui.cpp index 2e6889f07..03b761062 100644 --- a/src/music_gui.cpp +++ b/src/music_gui.cpp @@ -174,7 +174,11 @@ void MusicLoop() if (!msf.playing && _song_is_active) { StopMusic(); } else if (msf.playing && !_song_is_active) { - PlayPlaylistSong(); + if (_game_mode != GM_MENU) { + PlayPlaylistSong(); + } else { + ResetMusic(); + } } if (!_song_is_active) return; -- cgit v1.2.3-54-g00ecf