aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-28 22:50:30 -0400
committerPaul Gilbert2016-10-28 22:50:30 -0400
commita6477a8606d9b250744e0fba7ddaa81cc206729b (patch)
tree2940f9b225721b21005913583259b67df18b0ab2
parent2466edc4b8573547817b380d7c660580c38065b5 (diff)
downloadscummvm-rg350-a6477a8606d9b250744e0fba7ddaa81cc206729b.tar.gz
scummvm-rg350-a6477a8606d9b250744e0fba7ddaa81cc206729b.tar.bz2
scummvm-rg350-a6477a8606d9b250744e0fba7ddaa81cc206729b.zip
TITANIC: Fix room transition cutscenes
-rw-r--r--engines/titanic/game_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game_state.cpp b/engines/titanic/game_state.cpp
index 51c1ea41cf..bebc2ed8b4 100644
--- a/engines/titanic/game_state.cpp
+++ b/engines/titanic/game_state.cpp
@@ -139,7 +139,7 @@ void CGameState::changeView(CViewItem *newView, CMovieClip *clip) {
} else {
oldView->preEnterView(newView);
_gameManager->_gameView->setView(newView);
- CRoomItem *oldRoom = newView->findNode()->findRoom();
+ CRoomItem *oldRoom = oldView->findNode()->findRoom();
CRoomItem *newRoom = newView->findNode()->findRoom();
// If a transition clip is defined, play it