diff options
author | Filippos Karapetis | 2010-06-27 21:18:19 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-27 21:18:19 +0000 |
commit | 4a60ff409050e8f3da6065f2a44d78d31c4f34b9 (patch) | |
tree | 391de4517007053a52451d116d862a3fca23b8e4 /engines/sci/sci.cpp | |
parent | 456265f8fac8c5020e30fa99e0be1c1ff1a02aa8 (diff) | |
download | scummvm-rg350-4a60ff409050e8f3da6065f2a44d78d31c4f34b9.tar.gz scummvm-rg350-4a60ff409050e8f3da6065f2a44d78d31c4f34b9.tar.bz2 scummvm-rg350-4a60ff409050e8f3da6065f2a44d78d31c4f34b9.zip |
Made the script initialization/uninitialization methods part of the segment manager
svn-id: r50402
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 6decfc7c27..8a41d74b7f 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -373,7 +373,7 @@ bool SciEngine::initGame() { _gamestate->stack_base = stack->_entries; _gamestate->stack_top = stack->_entries + stack->_capacity; - if (!script_instantiate(_resMan, _gamestate->_segMan, 0)) { + if (!_gamestate->_segMan->instantiateScript(0)) { error("initGame(): Could not instantiate script 0"); return false; } |