[Scummvm-cvs-logs] SF.net SVN: scummvm:[49999] scummvm/trunk/engines/mohawk/riven_scripts.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Fri Jun 18 04:28:58 CEST 2010


Revision: 49999
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49999&view=rev
Author:   mthreepwood
Date:     2010-06-18 02:28:58 +0000 (Fri, 18 Jun 2010)

Log Message:
-----------
Add a comment on the unknown switch command argument.

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/riven_scripts.cpp

Modified: scummvm/trunk/engines/mohawk/riven_scripts.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/riven_scripts.cpp	2010-06-18 02:25:56 UTC (rev 49998)
+++ scummvm/trunk/engines/mohawk/riven_scripts.cpp	2010-06-18 02:28:58 UTC (rev 49999)
@@ -61,7 +61,7 @@
 	uint16 command = script->readUint16BE();
 	uint32 commandSize = 2;
 	if (command == 8) {
-		if (script->readUint16BE() != 2)
+		if (script->readUint16BE() != 2) // Arg count?
 			warning ("if-then-else unknown value is not 2");
 		script->readUint16BE();								// variable to check against
 		uint16 logicBlockCount = script->readUint16BE();	// number of logic blocks


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