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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game_location.cpp b/engines/titanic/game_location.cpp
index 3a1d0c9e48..1e4e067f70 100644
--- a/engines/titanic/game_location.cpp
+++ b/engines/titanic/game_location.cpp
@@ -52,7 +52,7 @@ void CGameLocation::load(SimpleFile *file) {
void CGameLocation::setView(CViewItem *view) {
if (_view) {
- for (CTreeItem *treeItem = _view; treeItem;
+ for (CTreeItem *treeItem = _view; treeItem;
treeItem = treeItem->scan(_view)) {
CGameObject *obj = dynamic_cast<CGameObject *>(treeItem);
if (obj)