mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 23:01:58 +00:00
TITANIC: Fix using remote to go to assigned room floor
This commit is contained in:
parent
9528479724
commit
ace9cfe60d
@ -50,8 +50,8 @@ bool CPETLift::TransportMsg(CTransportMsg *msg) {
|
||||
} else if (msg->_roomName == "BottomOfWell") {
|
||||
floorNum = 39;
|
||||
} else if (msg->_roomName == "PlayersRoom" && pet) {
|
||||
int assignedFloor = pet->getAssignedFloorNum();
|
||||
if (assignedFloor < 1 || assignedFloor > 39) {
|
||||
floorNum = pet->getAssignedFloorNum();
|
||||
if (floorNum < 1 || floorNum > 39) {
|
||||
pet->petDisplayMessage(NO_ROOM_ASSIGNED);
|
||||
floorNum = -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user