diff options
author | Paul Gilbert | 2016-11-11 22:05:24 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-11 22:05:24 -0500 |
commit | 6ab6fb8b1907315bf61a1c29095c83692e9f46be (patch) | |
tree | 85ee56e29ca53b8bc584b3ab52c8c627451dead2 /engines/titanic/game/pet | |
parent | ace9cfe60d658cbf364738d923212839dcdc2d02 (diff) | |
download | scummvm-rg350-6ab6fb8b1907315bf61a1c29095c83692e9f46be.tar.gz scummvm-rg350-6ab6fb8b1907315bf61a1c29095c83692e9f46be.tar.bz2 scummvm-rg350-6ab6fb8b1907315bf61a1c29095c83692e9f46be.zip |
TITANIC: Fix leaving lift at SGT floor
Diffstat (limited to 'engines/titanic/game/pet')
-rw-r--r-- | engines/titanic/game/pet/pet_position.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/pet/pet_position.cpp b/engines/titanic/game/pet/pet_position.cpp index d3d030eb16..db6f9997c9 100644 --- a/engines/titanic/game/pet/pet_position.cpp +++ b/engines/titanic/game/pet/pet_position.cpp @@ -171,8 +171,8 @@ bool CPETPosition::EnterViewMsg(CEnterViewMsg *msg) { bool CPETPosition::LeaveViewMsg(CLeaveViewMsg *msg) { CPetControl *pet = getPetControl(); - CString oldView = msg->_oldView->getName(); - CString newView = msg->_newView->getName(); + CString oldView = msg->_oldView->getFullViewName(); + CString newView = msg->_newView->getFullViewName(); if (pet && newView == "Lift.Node 1.N") { int elevatorNum = pet->getRoomsElevatorNum(); |