diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 5fbd8a0107..b4c460e8bb 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -207,14 +207,17 @@ public: /** * Handles drag ends within the PET */ - CGameObject *dragEnd(const Point &pt) const { - return _currentArea == PET_INVENTORY ? _inventory.dragEnd(pt) : nullptr; - } + CGameObject *dragEnd(const Point &pt) const; + + /** + * Handles checking when a drag-drop operation ends + */ + bool checkDragEnd(CGameObject *item) const; /** * Display a message */ - void displayMessage(const CString &msg); + void displayMessage(const CString &msg) const; /** * Get the first game object stored in the PET @@ -284,6 +287,7 @@ public: * Stop a timer */ void stopPetTimer(uint timerIndex); + }; } // End of namespace Titanic |