aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kscripts.cpp
diff options
context:
space:
mode:
authorLars Skovlund2010-11-18 17:04:00 +0000
committerLars Skovlund2010-11-18 17:04:00 +0000
commitc5252071db22b31cc83c2687f93606b79194efe6 (patch)
tree7d2866806624b7187854a32394f714d6bd1c1aa3 /engines/sci/engine/kscripts.cpp
parent152e52d0156e443f8dc52bf2bddf9ef21a32f853 (diff)
downloadscummvm-rg350-c5252071db22b31cc83c2687f93606b79194efe6.tar.gz
scummvm-rg350-c5252071db22b31cc83c2687f93606b79194efe6.tar.bz2
scummvm-rg350-c5252071db22b31cc83c2687f93606b79194efe6.zip
SCI3: Add proper support for the calle instruction
svn-id: r54327
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r--engines/sci/engine/kscripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp
index d91662a695..f711530e86 100644
--- a/engines/sci/engine/kscripts.cpp
+++ b/engines/sci/engine/kscripts.cpp
@@ -262,7 +262,7 @@ reg_t kScriptID(EngineState *s, int argc, reg_t *argv) {
return NULL_REG;
}
- uint16 address = scr->validateExportFunc(index);
+ uint16 address = scr->validateExportFunc(index, true);
// Point to the heap for SCI1.1 - SCI2.1 games
if (getSciVersion() >= SCI_VERSION_1_1 && getSciVersion() <= SCI_VERSION_2_1)