diff options
author | frosch <frosch@openttd.org> | 2008-10-18 13:43:52 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-10-18 13:43:52 +0000 |
commit | cee91861628700c57c59dbe053fa63ebd4719c3e (patch) | |
tree | cc69e71f9b9a78d18da1b85fd7657aa891545ada /src | |
parent | 5c781a921a0dff26ebce61397ec47b2ef198f8b4 (diff) | |
download | openttd-cee91861628700c57c59dbe053fa63ebd4719c3e.tar.xz |
(svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo)
Diffstat (limited to 'src')
-rw-r--r-- | src/music_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp index 002fb5070..9c29e7905 100644 --- a/src/music_gui.cpp +++ b/src/music_gui.cpp @@ -114,7 +114,7 @@ static void SelectSongToPlay() do { /* We are now checking for the existence of that file prior * to add it to the list of available songs */ - if (FioCheckFileExists(origin_songs_specs[_playlists[msf.playlist][i]].filename, GM_DIR)) { + if (FioCheckFileExists(origin_songs_specs[_playlists[msf.playlist][i] - 1].filename, GM_DIR)) { _cur_playlist[j] = _playlists[msf.playlist][i]; j++; } |