diff options
author | Paul Gilbert | 2016-04-11 18:53:40 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:10:54 -0400 |
commit | 7e1f802abdab1442bd49f1c398c0aab6d81d452b (patch) | |
tree | c281c3121ebed4bf5f5eee3b6d17d88faeb0aa2a /engines/titanic/pet_control/pet_control.h | |
parent | ad6ea25c99654b93c712a64fe322dce42e7fd0e8 (diff) | |
download | scummvm-rg350-7e1f802abdab1442bd49f1c398c0aab6d81d452b.tar.gz scummvm-rg350-7e1f802abdab1442bd49f1c398c0aab6d81d452b.tar.bz2 scummvm-rg350-7e1f802abdab1442bd49f1c398c0aab6d81d452b.zip |
TITANIC: CCarry drag & move msg handlers
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 39bc5fb41b..f357c29378 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -193,7 +193,7 @@ public: /** * Handles drag ends within the PET */ - CTreeItem *dragEnd(const Point &pt) const { + CGameObject *dragEnd(const Point &pt) const { return _currentArea == PET_INVENTORY ? _inventory.dragEnd(pt) : nullptr; } }; |