aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/opcodes.cpp
diff options
context:
space:
mode:
authorJussi Pitkanen2011-06-17 16:07:43 +0300
committerEugene Sandulenko2011-08-13 23:27:17 +0100
commite4a1193d22142be750e20ab0a32f03f8c11cf950 (patch)
treea94aef3b2469c50a85641233bb59f10947701e25 /engines/agi/opcodes.cpp
parent2289ba88b64dd53d48d0d47138a553ab4452adc2 (diff)
downloadscummvm-rg350-e4a1193d22142be750e20ab0a32f03f8c11cf950.tar.gz
scummvm-rg350-e4a1193d22142be750e20ab0a32f03f8c11cf950.tar.bz2
scummvm-rg350-e4a1193d22142be750e20ab0a32f03f8c11cf950.zip
AGI: Add last undefined V1 test command that tests if a bit of var is set
Also fix skipInstruction() for V1.
Diffstat (limited to 'engines/agi/opcodes.cpp')
-rw-r--r--engines/agi/opcodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/opcodes.cpp b/engines/agi/opcodes.cpp
index b2bccd8a3c..ba7f587d11 100644
--- a/engines/agi/opcodes.cpp
+++ b/engines/agi/opcodes.cpp
@@ -36,7 +36,7 @@ AgiInstruction insV1Test[] = {
{ "lessv", "vv", &condLessV }, // 04
{ "greatern", "vn", &condGreater }, // 05
{ "greaterv", "vv", &condGreaterV }, // 06
- { "isset", "v", &condIsSetV1 }, // 07
+ { "isset", "v", &condIsSetV1 }, // 07
{ "has", "n", &condHas }, // 08
{ "said", "nnnn", &condSaid2 }, // 09
{ "posn", "nnnnn", &condPosn }, // 0A
@@ -45,7 +45,7 @@ AgiInstruction insV1Test[] = {
{ "said", "nnnnnn", &condSaid3 }, // 0D
{ "have.key", "", &condHaveKey }, // 0E
{ "said", "nn", &condSaid1 }, // 0F
- { "bit", "nv", &condUnknown }, // 10
+ { "bit", "nv", &condBit }, // 10
};
AgiInstruction insV1[] = {