aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/module2500.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/neverhood/module2500.cpp')
-rw-r--r--engines/neverhood/module2500.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/module2500.cpp b/engines/neverhood/module2500.cpp
index 26d0d88de1..978695d26c 100644
--- a/engines/neverhood/module2500.cpp
+++ b/engines/neverhood/module2500.cpp
@@ -126,9 +126,9 @@ void Module2500::createScene(int sceneNum, int which) {
break;
case 9:
if (getGlobalVar(0xD0A14D10))
- _childObject = new StaticScene(_vm, this, 0xC62A0645, 0xA0641C6A);
+ createStaticScene(0xC62A0645, 0xA0641C6A);
else
- _childObject = new StaticScene(_vm, this, 0x7A343546, 0x435427AB);
+ createStaticScene(0x7A343546, 0x435427AB);
break;
}
SetUpdateHandler(&Module2500::updateScene);