From 57d9de00f8234fa506f5dc5dd0b6ed390a364ede Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 21 Nov 2010 02:07:55 +0000 Subject: SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn) svn-id: r54403 --- engines/sci/engine/kstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') 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; } -- cgit v1.2.3