[Scummvm-git-logs] scummvm master -> 5cdec1136a3dec82b025d5e9a626336e4f24fb61

dreammaster dreammaster at scummvm.org
Thu Nov 10 02:31:13 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5cdec1136a TITANIC: Fix toggle fragments of PET Room glyphs


Commit: 5cdec1136a3dec82b025d5e9a626336e4f24fb61
    https://github.com/scummvm/scummvm/commit/5cdec1136a3dec82b025d5e9a626336e4f24fb61
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-09T20:31:08-05:00

Commit Message:
TITANIC: Fix toggle fragments of PET Room glyphs

Changed paths:
    engines/titanic/pet_control/pet_rooms_glyphs.cpp



diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
index 27034ae..ca2dac6 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();





More information about the Scummvm-git-logs mailing list