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 23c2ae2598..3a1d0c9e48 100644
--- a/engines/titanic/game_location.cpp
+++ b/engines/titanic/game_location.cpp
@@ -52,11 +52,11 @@ 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)
- obj->fn2();
+ obj->stopMovie();
}
}