From 63a9ddeb77ab457b00d06936d99b0effa8f49058 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 18 Oct 2008 13:43:52 +0000 Subject: [PATCH] (svn r14484) -Fix (r10182) [FS#2358]: Obiwan dislikes music. (Patch by Yexo) --- src/music_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music_gui.cpp b/src/music_gui.cpp index 002fb50709..9c29e79056 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++; }