From 492f748a4baaf72a5ca41a4b487966b3110ea580 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 18 Jun 2010 02:28:58 +0000 Subject: Add a comment on the unknown switch command argument. svn-id: r49999 --- engines/mohawk/riven_scripts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp index d574a455c6..a23fd26b96 100644 --- a/engines/mohawk/riven_scripts.cpp +++ b/engines/mohawk/riven_scripts.cpp @@ -61,7 +61,7 @@ uint32 RivenScript::calculateCommandSize(Common::SeekableReadStream* script) { 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 -- cgit v1.2.3