aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-21 02:07:55 +0000
committerFilippos Karapetis2010-11-21 02:07:55 +0000
commit57d9de00f8234fa506f5dc5dd0b6ed390a364ede (patch)
tree4ca6f9d36979f20359a61fb73ced7059e44a104f /engines/sci
parentac7c488c7c646465a112c48e947d0da055379a8b (diff)
downloadscummvm-rg350-57d9de00f8234fa506f5dc5dd0b6ed390a364ede.tar.gz
scummvm-rg350-57d9de00f8234fa506f5dc5dd0b6ed390a364ede.tar.bz2
scummvm-rg350-57d9de00f8234fa506f5dc5dd0b6ed390a364ede.zip
SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn)
svn-id: r54403
Diffstat (limited to 'engines/sci')
-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;
}