From 5fa38662e2fa1da6e06f9dd33c9f328c260ae273 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 13 Dec 2008 12:56:53 +0000 Subject: Whoops. Fix accidently wrong evaluation statement. svn-id: r35337 --- sound/midiparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound') diff --git a/sound/midiparser.cpp b/sound/midiparser.cpp index 648ad2fe1b..5aa458a792 100644 --- a/sound/midiparser.cpp +++ b/sound/midiparser.cpp @@ -287,7 +287,7 @@ bool MidiParser::setTrack(int track) { return false; // We allow restarting the track via setTrack when // it isn't playing anymore. This allows us to reuse - // a MidiParser when a track has been played and will + // a MidiParser when a track has finished and will // be restarted via setTrack by the client again. // This isn't exactly how setTrack behaved before though, // the old MidiParser code did not allow setTrack to be @@ -296,7 +296,7 @@ bool MidiParser::setTrack(int track) { // TODO: Check if any engine has problem with this // handling, if so we need to find a better way to handle // track restarts. (KYRA relies on this working) - else if (track == _active_track && !isPlaying()) + else if (track == _active_track && isPlaying()) return true; if (_smartJump) -- cgit v1.2.3