aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index 2575dd10e7..a66dc8d91f 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -620,7 +620,7 @@ reg_t kString(EngineState *s, int argc, reg_t *argv) {
uint16 op = argv[0].toUint16();
if (g_sci->_features->detectSci2StringFunctionType() == kSci2StringFunctionNew) {
- if (op >= 7) // Cpy, Cmp have been removed
+ if (op >= 8) // Dup, GetData have been removed
op += 2;
}