aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_manager.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-13 15:07:27 -0400
committerPaul Gilbert2016-03-13 15:07:27 -0400
commitc92bf22f0331fbdbc7e440b43ae1973b679befb3 (patch)
treed51ee3848bb6606cf8a99421d257ad0bca641828 /engines/titanic/game_manager.cpp
parentf0d992d8548ee8bacae72ecc15e69f9de4187549 (diff)
downloadscummvm-rg350-c92bf22f0331fbdbc7e440b43ae1973b679befb3.tar.gz
scummvm-rg350-c92bf22f0331fbdbc7e440b43ae1973b679befb3.tar.bz2
scummvm-rg350-c92bf22f0331fbdbc7e440b43ae1973b679befb3.zip
TITANIC: Changed CGameStateSub to CGameLocation, properly implemented it
Diffstat (limited to 'engines/titanic/game_manager.cpp')
-rw-r--r--engines/titanic/game_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp
index d8409e6864..53e7b34409 100644
--- a/engines/titanic/game_manager.cpp
+++ b/engines/titanic/game_manager.cpp
@@ -66,9 +66,9 @@ void CGameManager::postLoad(CProjectItem *project) {
_gameView->postLoad();
if (!_gameView->_fieldC) {
- int v = fn2();
- if (v)
- _gameView->proc3(v);
+ CViewItem *view = getView();
+ if (view)
+ _gameView->setView(view);
}
}