aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
index 27034aeeb7..ca2dac6bcd 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
@@ -108,7 +108,7 @@ void CPetRoomsGlyph::selectGlyph(const Point &topLeft, const Point &pt) {
if (isShiftPressed) {
int selection = getSelection(topLeft, pt);
if (selection >= 0)
- _roomFlags |= 1 << selection;
+ _roomFlags ^= 1 << selection;
}
updateTooltip();