diff options
author | Matthew Hoops | 2010-06-18 02:28:58 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-06-18 02:28:58 +0000 |
commit | 492f748a4baaf72a5ca41a4b487966b3110ea580 (patch) | |
tree | 8b34db455fee0089e3febe9fe1ac9b09b627f3e8 | |
parent | d869d1370e01839bb6213c61e82bf2aca793b4d2 (diff) | |
download | scummvm-rg350-492f748a4baaf72a5ca41a4b487966b3110ea580.tar.gz scummvm-rg350-492f748a4baaf72a5ca41a4b487966b3110ea580.tar.bz2 scummvm-rg350-492f748a4baaf72a5ca41a4b487966b3110ea580.zip |
Add a comment on the unknown switch command argument.
svn-id: r49999
-rw-r--r-- | engines/mohawk/riven_scripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |