[Scummvm-cvs-logs] SF.net SVN: scummvm:[35337] scummvm/trunk/sound/midiparser.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Dec 13 13:56:54 CET 2008
Revision: 35337
http://scummvm.svn.sourceforge.net/scummvm/?rev=35337&view=rev
Author: lordhoto
Date: 2008-12-13 12:56:53 +0000 (Sat, 13 Dec 2008)
Log Message:
-----------
Whoops. Fix accidently wrong evaluation statement.
Modified Paths:
--------------
scummvm/trunk/sound/midiparser.cpp
Modified: scummvm/trunk/sound/midiparser.cpp
===================================================================
--- scummvm/trunk/sound/midiparser.cpp 2008-12-13 12:45:53 UTC (rev 35336)
+++ scummvm/trunk/sound/midiparser.cpp 2008-12-13 12:56:53 UTC (rev 35337)
@@ -287,7 +287,7 @@
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 @@
// 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)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list