diff options
author | Max Horn | 2010-05-26 16:30:10 +0000 |
---|---|---|
committer | Max Horn | 2010-05-26 16:30:10 +0000 |
commit | 0197e9f6a19738054a4b847e3217cd3794ef3ce3 (patch) | |
tree | c73642ea32bd9ce4ae2699e210446933ce94d984 /engines/sci/engine/kscripts.cpp | |
parent | 017507ffa6a774ea1df4d74b8431155540f76244 (diff) | |
download | scummvm-rg350-0197e9f6a19738054a4b847e3217cd3794ef3ce3.tar.gz scummvm-rg350-0197e9f6a19738054a4b847e3217cd3794ef3ce3.tar.bz2 scummvm-rg350-0197e9f6a19738054a4b847e3217cd3794ef3ce3.zip |
SCI: Making various object and script related things const
svn-id: r49246
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 ba29f64966..eeaa0ceec0 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -111,7 +111,7 @@ reg_t kResCheck(EngineState *s, int argc, reg_t *argv) { reg_t kClone(EngineState *s, int argc, reg_t *argv) { reg_t parent_addr = argv[0]; - Object *parent_obj = s->_segMan->getObject(parent_addr); + const Object *parent_obj = s->_segMan->getObject(parent_addr); reg_t clone_addr; Clone *clone_obj; // same as Object* |