aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/adl.cpp')
-rw-r--r--engines/adl/adl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index 778d8212be..036e8f1049 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -294,7 +294,7 @@ void AdlEngine::setupOpcodeTables() {
Opcode(o1_isItemInRoom);
// 0x04
OpcodeUnImpl();
- Opcode(o1_isMovesGrEq);
+ Opcode(o1_isMovesGT);
Opcode(o1_isVarEq);
OpcodeUnImpl();
// 0x08
@@ -859,8 +859,8 @@ int AdlEngine::o1_isItemInRoom(ScriptEnv &e) {
return 2;
}
-int AdlEngine::o1_isMovesGrEq(ScriptEnv &e) {
- if (e.arg(1) > _state.moves)
+int AdlEngine::o1_isMovesGT(ScriptEnv &e) {
+ if (e.arg(1) >= _state.moves)
return -1;
return 1;
}