From 5cdec1136a3dec82b025d5e9a626336e4f24fb61 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 9 Nov 2016 20:31:08 -0500 Subject: TITANIC: Fix toggle fragments of PET Room glyphs --- engines/titanic/pet_control/pet_rooms_glyphs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic') 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(); -- cgit v1.2.3