aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-13 11:09:15 -0500
committerPaul Gilbert2016-11-13 11:09:15 -0500
commit923a484dae84941b02dfab953526db63ab5dc63b (patch)
treeab85bc6a07718413fee3852b196fb1b186bffc6c
parent43438fbe1365115f1a4df1a452d14677fca3c86b (diff)
downloadscummvm-rg350-923a484dae84941b02dfab953526db63ab5dc63b.tar.gz
scummvm-rg350-923a484dae84941b02dfab953526db63ab5dc63b.tar.bz2
scummvm-rg350-923a484dae84941b02dfab953526db63ab5dc63b.zip
TITANIC: Correct loading room flags in PET Rooms tab
-rw-r--r--engines/titanic/pet_control/pet_rooms.cpp2
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 d32667e5f7..6930ecab9d 100644
--- a/engines/titanic/pet_control/pet_rooms.cpp
+++ b/engines/titanic/pet_control/pet_rooms.cpp
@@ -134,7 +134,7 @@ void CPetRooms::load(SimpleFile *file, int param) {
glyph->setMode((RoomGlyphMode)file->readNumber());
}
- _glyphItem.setMode((RoomGlyphMode)file->readNumber());
+ _glyphItem.setRoomFlags(file->readNumber());
file->readNumber();
_floorNum = file->readNumber();
_elevatorNum = file->readNumber();