diff options
author | Max Horn | 2010-02-13 17:44:19 +0000 |
---|---|---|
committer | Max Horn | 2010-02-13 17:44:19 +0000 |
commit | a82939c9bee20f2969f1006c1c9a836cea5c7903 (patch) | |
tree | 1d09caf84f1b1d7787b539952cd739f66383c68d /engines/sci/engine/vm.cpp | |
parent | 721a57a66101d63bc05e294c24190ba66ccceb74 (diff) | |
download | scummvm-rg350-a82939c9bee20f2969f1006c1c9a836cea5c7903.tar.gz scummvm-rg350-a82939c9bee20f2969f1006c1c9a836cea5c7903.tar.bz2 scummvm-rg350-a82939c9bee20f2969f1006c1c9a836cea5c7903.zip |
SCI: Get rid of EngineState::resMan
svn-id: r48048
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r-- | engines/sci/engine/vm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index aa7163929b..aac08c09e2 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -261,7 +261,7 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP Script *scr = s->_segMan->getScriptIfLoaded(seg); if (!scr || scr->isMarkedAsDeleted()) // Script not present yet? - seg = script_instantiate(s->resMan, s->_segMan, script); + seg = script_instantiate(g_sci->getResMan(), s->_segMan, script); const int temp = s->_segMan->validateExportFunc(pubfunct, seg); if (!temp) { |