summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/music_gui.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp
index 03b761062..c90aa5c5a 100644
--- a/src/music_gui.cpp
+++ b/src/music_gui.cpp
@@ -118,7 +118,8 @@ static void SelectSongToPlay()
}
} while (_playlists[msf.playlist][i++] != 0 && i < lengthof(_cur_playlist) - 1);
- if (msf.shuffle) {
+ /* Do not shuffle when on the intro-start window, as the song to play has to be the original TTD Theme*/
+ if (msf.shuffle && _game_mode != GM_MENU) {
i = 500;
do {
uint32 r = InteractiveRandom();
@@ -174,11 +175,7 @@ void MusicLoop()
if (!msf.playing && _song_is_active) {
StopMusic();
} else if (msf.playing && !_song_is_active) {
- if (_game_mode != GM_MENU) {
- PlayPlaylistSong();
- } else {
- ResetMusic();
- }
+ PlayPlaylistSong();
}
if (!_song_is_active) return;