diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_element.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_element.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_element.cpp b/engines/titanic/pet_control/pet_element.cpp index a4c5b271a0..423c79af8b 100644 --- a/engines/titanic/pet_control/pet_element.cpp +++ b/engines/titanic/pet_control/pet_element.cpp @@ -40,8 +40,8 @@ bool CPetElement::proc6(const Common::Point &pt) { return result; } -bool CPetElement::proc7(const Common::Point &pt) { - bool result = _bounds.contains(pt); +bool CPetElement::handleMessage(CMouseButtonDownMsg &msg) { + bool result = _bounds.contains(msg._mousePos); if (result) setMode(MODE_UNSELECTED); return result; |