[Scummvm-cvs-logs] SF.net SVN: scummvm:[40523] scummvm/trunk/engines/sci/sfx/iterator.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed May 13 18:22:27 CEST 2009
Revision: 40523
http://scummvm.svn.sourceforge.net/scummvm/?rev=40523&view=rev
Author: thebluegr
Date: 2009-05-13 16:22:26 +0000 (Wed, 13 May 2009)
Log Message:
-----------
Fixed regression in SCI1 games from commit #40518
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/iterator.cpp
Modified: scummvm/trunk/engines/sci/sfx/iterator.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/iterator.cpp 2009-05-13 12:31:30 UTC (rev 40522)
+++ scummvm/trunk/engines/sci/sfx/iterator.cpp 2009-05-13 16:22:26 UTC (rev 40523)
@@ -908,7 +908,7 @@
}
int retval = 0;
- while (retval > 0) { /* All delays must be processed separately */
+ do { /* All delays must be processed separately */
int chan = getCommandIndex();
if (chan == COMMAND_INDEX_NONE) {
@@ -974,7 +974,7 @@
} /* Not a PCM */
- }
+ } while (retval > 0);
return retval;
}
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