diff options
Diffstat (limited to 'engines/adl/adl_v3.cpp')
-rw-r--r-- | engines/adl/adl_v3.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/adl/adl_v3.cpp b/engines/adl/adl_v3.cpp index 608c22b871..e326b05af5 100644 --- a/engines/adl/adl_v3.cpp +++ b/engines/adl/adl_v3.cpp @@ -66,7 +66,7 @@ void AdlEngine_v3::setupOpcodeTables() { // 0x08 Opcode(o3_isVarGT); Opcode(o1_isCurPicEQ); - Opcode(o1_isItemPicEQ); + Opcode(o3_skipOneCommand); SetOpcodeTable(_actOpcodes); // 0x00 @@ -122,4 +122,14 @@ int AdlEngine_v3::o3_isVarGT(ScriptEnv &e) { return -1; } +// FIXME: Move to HiRes6 class? +int AdlEngine_v3::o3_skipOneCommand(ScriptEnv &e) { + OP_DEBUG_0("\t&& SKIP_NEXT_COMMAND()"); + + _skipOneCommand = true; + setVar(2, 0); + + return -1; +} + } // End of namespace Adl |