aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game_location.cpp')
-rw-r--r--engines/titanic/game_location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game_location.cpp b/engines/titanic/game_location.cpp
index cd4481ed31..5f87d3bc67 100644
--- a/engines/titanic/game_location.cpp
+++ b/engines/titanic/game_location.cpp
@@ -74,8 +74,8 @@ CViewItem *CGameLocation::getView() {
_view = nullptr;
} else {
_viewNumber = _view->_viewNumber;
- _nodeNumber = getNode()->_nodeNumber;
- _roomNumber = getRoom()->_roomNumber;
+ _nodeNumber = _view->findNode()->_nodeNumber;
+ _roomNumber = _view->findRoom()->_roomNumber;
}
return _view;