diff options
author | Paul Gilbert | 2017-06-21 19:37:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-21 19:37:14 -0400 |
commit | 44f0a1906286a8864422516fc7f64457062465ca (patch) | |
tree | f45daabfbb8f556f986519fe0ad51ae9ef329c05 /engines | |
parent | deab63fbdde7cbaa336000110ccb5eb2b7f06c80 (diff) | |
download | scummvm-rg350-44f0a1906286a8864422516fc7f64457062465ca.tar.gz scummvm-rg350-44f0a1906286a8864422516fc7f64457062465ca.tar.bz2 scummvm-rg350-44f0a1906286a8864422516fc7f64457062465ca.zip |
TITANIC: Fix 2nd class room flags calculation
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/pet_control/pet_rooms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_rooms.cpp b/engines/titanic/pet_control/pet_rooms.cpp index 88d9df15cd..e330241d28 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); } |