aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/moves/enter_exit_mini_lift.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/moves/enter_exit_mini_lift.cpp')
-rw-r--r--engines/titanic/moves/enter_exit_mini_lift.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/moves/enter_exit_mini_lift.cpp b/engines/titanic/moves/enter_exit_mini_lift.cpp
index 3caa674ab8..024ecbc832 100644
--- a/engines/titanic/moves/enter_exit_mini_lift.cpp
+++ b/engines/titanic/moves/enter_exit_mini_lift.cpp
@@ -56,7 +56,7 @@ bool CEnterExitMiniLift::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
if (pet)
pet->setRoomsRoomNum(_destRoomNum);
} else if (compareRoomNameTo("SGTLittleLift")) {
- if (_statics->_changeViewNum) {
+ if (_statics->_miniLiftFloor == 1) {
changeView(_statics->_destView);
}
}
@@ -65,7 +65,8 @@ bool CEnterExitMiniLift::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
}
bool CEnterExitMiniLift::EnterViewMsg(CEnterViewMsg *msg) {
- _cursorId = _statics->_changeViewNum ? CURSOR_MOVE_FORWARD : CURSOR_INVALID;
+ // Only show exit cursor when minilift is on the ground level
+ _cursorId = _statics->_miniLiftFloor == 1 ? CURSOR_MOVE_FORWARD : CURSOR_INVALID;
return true;
}