aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_state.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-12 19:49:09 -0500
committerPaul Gilbert2016-11-12 19:49:09 -0500
commita02adba8423c295b32b465a22f90229253c50cdf (patch)
treeecbcdfcb28ae1a1aa8227f7392aaef4c6fbb66c3 /engines/titanic/game_state.cpp
parent82211302c04f8320953d568b912052e3c6d3f11c (diff)
downloadscummvm-rg350-a02adba8423c295b32b465a22f90229253c50cdf.tar.gz
scummvm-rg350-a02adba8423c295b32b465a22f90229253c50cdf.tar.bz2
scummvm-rg350-a02adba8423c295b32b465a22f90229253c50cdf.zip
TITANIC: Renamings of transitioning counter methods
Diffstat (limited to 'engines/titanic/game_state.cpp')
-rw-r--r--engines/titanic/game_state.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/game_state.cpp b/engines/titanic/game_state.cpp
index 5b6d34ad76..f3b1115a1b 100644
--- a/engines/titanic/game_state.cpp
+++ b/engines/titanic/game_state.cpp
@@ -112,7 +112,7 @@ void CGameState::enterView() {
_gameManager->playClip(_movieList._movieClip, oldRoom, newRoom);
_gameManager->_sound.preEnterView(newView, newRoom != oldRoom);
- _gameManager->dec54();
+ _gameManager->decTransitions();
oldView->enterView(newView);
_movieList._view = nullptr;
@@ -135,6 +135,7 @@ void CGameState::changeView(CViewItem *newView, CMovieClip *clip) {
if (_mode == GSMODE_CUTSCENE) {
_movieList._view = newView;
_movieList._movieClip = clip;
+ _gameManager->incTransitions();
} else {
oldView->preEnterView(newView);
_gameManager->_gameView->setView(newView);