diff options
author | Johannes Schickel | 2008-12-13 12:56:53 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-12-13 12:56:53 +0000 |
commit | 5fa38662e2fa1da6e06f9dd33c9f328c260ae273 (patch) | |
tree | 2b2015c69ac708db4f7cff196d4552ff6c4949da /sound | |
parent | 223a57a563746b0ced90428d4405dbe9fdd62d0e (diff) | |
download | scummvm-rg350-5fa38662e2fa1da6e06f9dd33c9f328c260ae273.tar.gz scummvm-rg350-5fa38662e2fa1da6e06f9dd33c9f328c260ae273.tar.bz2 scummvm-rg350-5fa38662e2fa1da6e06f9dd33c9f328c260ae273.zip |
Whoops. Fix accidently wrong evaluation statement.
svn-id: r35337
Diffstat (limited to 'sound')
-rw-r--r-- | sound/midiparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |