From 44f0a1906286a8864422516fc7f64457062465ca Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 21 Jun 2017 19:37:14 -0400 Subject: [PATCH] TITANIC: Fix 2nd class room flags calculation --- engines/titanic/pet_control/pet_rooms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/titanic/pet_control/pet_rooms.cpp b/engines/titanic/pet_control/pet_rooms.cpp index 88d9df15cd4..e330241d280 100644 --- a/engines/titanic/pet_control/pet_rooms.cpp +++ b/engines/titanic/pet_control/pet_rooms.cpp @@ -260,7 +260,7 @@ uint CPetRooms::getRoomFlags() const { roomFlags.setElevatorNum(_elevatorNum == 1 || _elevatorNum == 2 ? 2 : 4); } - roomFlags.setRoomBits(((_roomNum - 1) & 1) + (_field1CC > 1 ? 3 : 2)); + roomFlags.setRoomBits(((_roomNum - 1) & 1) + (_field1CC > 1 ? 3 : 1)); } else { roomFlags.setRoomBits(0); }