aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms_glyphs.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-09 20:31:08 -0500
committerPaul Gilbert2016-11-09 20:31:08 -0500
commit5cdec1136a3dec82b025d5e9a626336e4f24fb61 (patch)
treea20fcdfa2f49575e16d95c9df2e0df12898e50fe /engines/titanic/pet_control/pet_rooms_glyphs.cpp
parent56a23b9adaf806fa6d050e2cc2f11745006ac7be (diff)
downloadscummvm-rg350-5cdec1136a3dec82b025d5e9a626336e4f24fb61.tar.gz
scummvm-rg350-5cdec1136a3dec82b025d5e9a626336e4f24fb61.tar.bz2
scummvm-rg350-5cdec1136a3dec82b025d5e9a626336e4f24fb61.zip
TITANIC: Fix toggle fragments of PET Room glyphs
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.cpp')
-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();