diff options
author | Filippos Karapetis | 2010-05-30 16:14:31 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-05-30 16:14:31 +0000 |
commit | c32e88fe0bb61e75ca983072ba28102d4efbf123 (patch) | |
tree | 1da8c37a9256743e2c62abc8d3a70d84c26e8e55 /engines/sci/engine/kscripts.cpp | |
parent | 0276ec835ef3c77a4dbf772ea54cc6d5292452f2 (diff) | |
download | scummvm-rg350-c32e88fe0bb61e75ca983072ba28102d4efbf123.tar.gz scummvm-rg350-c32e88fe0bb61e75ca983072ba28102d4efbf123.tar.bz2 scummvm-rg350-c32e88fe0bb61e75ca983072ba28102d4efbf123.zip |
Limit access to the _bufSize, _scriptSize and _heapSize members of the Script class
svn-id: r49327
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r-- | engines/sci/engine/kscripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp index aec467bd54..d5a0c225d6 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -208,7 +208,7 @@ reg_t kScriptID(EngineState *s, int argc, reg_t *argv) { // Point to the heap for SCI1.1+ games if (getSciVersion() >= SCI_VERSION_1_1) - address += scr->_scriptSize; + address += scr->getScriptSize(); return make_reg(scriptSeg, address); } |