SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn)

svn-id: r54403
This commit is contained in:
Filippos Karapetis 2010-11-21 02:07:55 +00:00
parent ac7c488c7c
commit 57d9de00f8

View File

@ -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;
}