aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/world.cpp')
-rw-r--r--engines/wage/world.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index d897d9e9af..5fd46357bb 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -81,7 +81,12 @@ bool World::loadWorld(MacResManager *resMan) {
resArray = resMan->getResIDArray("ASCN");
for (iter = resArray.begin(); iter != resArray.end(); ++iter) {
-
+ res = resMan->getResource("ASCND", *iter, &resSize);
+ Scene *scene = new Scene(resMan->getResName("ASCN", *iter), res);
+
+ res = resMan->getResource("ACOD", *iter, &resSize);
+ if (res != NULL)
+ scene->_script = new Script(res);
}