aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/game/pet/pet_position.cpp1
-rw-r--r--engines/titanic/room_flags.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/game/pet/pet_position.cpp b/engines/titanic/game/pet/pet_position.cpp
index db6f9997c9..1dbedc4404 100644
--- a/engines/titanic/game/pet/pet_position.cpp
+++ b/engines/titanic/game/pet/pet_position.cpp
@@ -155,6 +155,7 @@ bool CPETPosition::EnterViewMsg(CEnterViewMsg *msg) {
if (pet) {
pet->setRooms1CC(1);
pet->setRoomsRoomNum(roomNum);
+ pet->resetRoomsHighlight();
if (viewStr == "Node 1.S")
pet->setRoomsWellEntry(pet->getRoomsElevatorNum());
diff --git a/engines/titanic/room_flags.cpp b/engines/titanic/room_flags.cpp
index 1be0b0aef6..be9acb9627 100644
--- a/engines/titanic/room_flags.cpp
+++ b/engines/titanic/room_flags.cpp
@@ -92,7 +92,7 @@ bool CRoomFlags::isTransportRoom() const {
}
int CRoomFlags::getRoomCategory() const {
- if (getRoomNum() == 0)
+ if (getRoomNum() != 0)
return false;
CRoomFlags tempFlags = _data;