diff options
Diffstat (limited to 'engines/wage/world.cpp')
-rw-r--r-- | engines/wage/world.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index a1d3f6e175..a7fce3d816 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -132,7 +132,7 @@ bool World::loadWorld(Common::MacResManager *resMan) { // Load global script res = resMan->getResource(MKTAG('G','C','O','D'), resArray[0]); - _globalScript = new Script(res); + _globalScript = new Script(res, -1); // TODO: read creator @@ -209,7 +209,7 @@ bool World::loadWorld(Common::MacResManager *resMan) { res = resMan->getResource(MKTAG('A','C','O','D'), *iter); if (res != NULL) - scene->_script = new Script(res); + scene->_script = new Script(res, *iter); res = resMan->getResource(MKTAG('A','T','X','T'), *iter); if (res != NULL) { |