diff options
author | Filippos Karapetis | 2010-11-17 08:53:02 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-17 08:53:02 +0000 |
commit | f44b084deba5a192ac1fe90377179733b694d243 (patch) | |
tree | 0e91cdf25e97b77b2ac2d42277e0ac983f8cef2a /engines/sci/engine/kscripts.cpp | |
parent | 0470e47145b42a8e9af56c1553bc9944c6096cba (diff) | |
download | scummvm-rg350-f44b084deba5a192ac1fe90377179733b694d243.tar.gz scummvm-rg350-f44b084deba5a192ac1fe90377179733b694d243.tar.bz2 scummvm-rg350-f44b084deba5a192ac1fe90377179733b694d243.zip |
SCI: Some restructuring. Added some SCI3 placeholders/stubs
svn-id: r54280
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r-- | engines/sci/engine/kscripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp index e7f466f9a2..0f1ee2c3f3 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -248,8 +248,8 @@ reg_t kScriptID(EngineState *s, int argc, reg_t *argv) { uint16 address = scr->validateExportFunc(index); - // Point to the heap for SCI1.1+ games - if (getSciVersion() >= SCI_VERSION_1_1) + // Point to the heap for SCI1.1 - SCI2.1 games + if (getSciVersion() >= SCI_VERSION_1_1 && getSciVersion() <= SCI_VERSION_2_1) address += scr->getScriptSize(); return make_reg(scriptSeg, address); |