diff options
author | Max Horn | 2010-05-29 21:42:42 +0000 |
---|---|---|
committer | Max Horn | 2010-05-29 21:42:42 +0000 |
commit | 42d6ed880b92e19c469c70da92397bd860abb483 (patch) | |
tree | 301a6c565a81bf91e81c1267e2838bfd2eda1a0b /engines/sci/engine/savegame.cpp | |
parent | 5143e7fff42de358021c1a150d2bd7495374ba49 (diff) | |
download | scummvm-rg350-42d6ed880b92e19c469c70da92397bd860abb483.tar.gz scummvm-rg350-42d6ed880b92e19c469c70da92397bd860abb483.tar.bz2 scummvm-rg350-42d6ed880b92e19c469c70da92397bd860abb483.zip |
SCI: Make Script::_exportTable const (yay :-)
svn-id: r49315
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index ab8b9eec58..7310993473 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -800,7 +800,7 @@ void SegManager::reconstructScripts(EngineState *s) { scr->setExportTableOffset(6); } } else { - scr->_exportTable = (uint16 *) scr->findBlock(SCI_OBJ_EXPORTS); + scr->_exportTable = (const uint16 *)scr->findBlock(SCI_OBJ_EXPORTS); scr->_synonyms = scr->findBlock(SCI_OBJ_SYNONYMS); scr->_exportTable += 3; } |