From 198ea304adbe0c0a1d94f13d1d229931f8ce6439 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-70-g09d2