diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_quit.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_quit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_quit.cpp b/engines/titanic/pet_control/pet_quit.cpp index 2f515a3235..e6c354a129 100644 --- a/engines/titanic/pet_control/pet_quit.cpp +++ b/engines/titanic/pet_control/pet_quit.cpp @@ -70,9 +70,9 @@ bool CPetQuit::checkHighlight(const Point &pt) { return !_btnYes.highlightBounds(pt); } -bool CPetQuit::mouseButtonDownMsg(CMouseButtonDownMsg *msg) { +bool CPetQuit::MouseButtonUpMsg(const Point &pt) { CPetControl *pet = getPetControl(); - if (_btnYes.MouseButtonDownMsg(msg) && pet) { + if (_btnYes.MouseButtonDownMsg(pt) && pet) { CGameManager *gameManager = pet->getGameManager(); if (gameManager) gameManager->_gameState._quitGame = true; |