diff options
Diffstat (limited to 'engines/wage/script.cpp')
-rw-r--r-- | engines/wage/script.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index e1f3c67535..f5e4cd475e 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -64,7 +64,11 @@ bool Script::execute(World *world, int loopCount, String *inputText, Designed *i _data->skip(12); while (_data->pos() < _data->size()) { - switch(_data->readByte()) { + byte command = _data->readByte(); + + debug(1, "Command: %x", command); + + switch(command) { case 0x80: // IF processIf(); break; |