diff options
Diffstat (limited to 'engines/neverhood/module1800.cpp')
-rw-r--r-- | engines/neverhood/module1800.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/neverhood/module1800.cpp b/engines/neverhood/module1800.cpp index 1ce2d0f116..e2c88dc2b6 100644 --- a/engines/neverhood/module1800.cpp +++ b/engines/neverhood/module1800.cpp @@ -173,7 +173,7 @@ void Module1800::updateScene1801() { void Module1800::updateScene1802() { _childObject->handleUpdate(); if (_done) { - int areaType = ((NavigationScene*)_childObject)->getNavigationAreaType(); + int areaType = navigationScene()->getNavigationAreaType(); _done = false; delete _childObject; _childObject = NULL; |