aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/static_selectors.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-09-03 18:14:59 +0000
committerMartin Kiewitz2010-09-03 18:14:59 +0000
commit87b78b1673037409604cdb4a1a5d6884af71bac1 (patch)
treeff386819ec9c9cf1575575d8e27096857b617867 /engines/sci/engine/static_selectors.cpp
parentb7a2fd899e07c3ae47bf5c845aadba6991c33666 (diff)
downloadscummvm-rg350-87b78b1673037409604cdb4a1a5d6884af71bac1.tar.gz
scummvm-rg350-87b78b1673037409604cdb4a1a5d6884af71bac1.tar.bz2
scummvm-rg350-87b78b1673037409604cdb4a1a5d6884af71bac1.zip
SCI: kClone/kDisposeClone behaviour more accurate
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.) svn-id: r52508
Diffstat (limited to 'engines/sci/engine/static_selectors.cpp')
-rw-r--r--engines/sci/engine/static_selectors.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/static_selectors.cpp b/engines/sci/engine/static_selectors.cpp
index de7adb68c4..8ba10c5569 100644
--- a/engines/sci/engine/static_selectors.cpp
+++ b/engines/sci/engine/static_selectors.cpp
@@ -98,6 +98,7 @@ static const char * const sci2Selectors[] = {
#endif
static const SelectorRemap sciSelectorRemap[] = {
+ { SCI_VERSION_0_EARLY, SCI_VERSION_1_LATE, "-info-", 2 },
{ SCI_VERSION_0_EARLY, SCI_VERSION_0_LATE, "moveDone", 170 },
{ SCI_VERSION_0_EARLY, SCI_VERSION_0_LATE, "points", 316 },
{ SCI_VERSION_0_EARLY, SCI_VERSION_0_LATE, "flags", 368 },
@@ -106,6 +107,7 @@ static const SelectorRemap sciSelectorRemap[] = {
{ SCI_VERSION_1_EARLY, SCI_VERSION_1_LATE, "topString", 101 },
{ SCI_VERSION_1_EARLY, SCI_VERSION_1_LATE, "flags", 102 },
// SCI1.1
+ { SCI_VERSION_1_1, SCI_VERSION_2_1, "-info-",4103 },
{ SCI_VERSION_1_1, SCI_VERSION_1_1, "nodePtr", 41 },
{ SCI_VERSION_1_1, SCI_VERSION_1_1, "cantBeHere", 54 },
{ SCI_VERSION_1_1, SCI_VERSION_1_1, "topString", 98 },