diff options
author | Paul Gilbert | 2017-01-15 16:46:58 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-15 16:46:58 -0500 |
commit | 0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12 (patch) | |
tree | 7cce33afdf1586a59fb31474733cfe460bd072e4 /engines/titanic | |
parent | 3fa46888a81cee152aa064036e62081b403c2053 (diff) | |
download | scummvm-rg350-0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12.tar.gz scummvm-rg350-0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12.tar.bz2 scummvm-rg350-0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12.zip |
TITANIC: Fix using inventory items on each other
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/input_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/input_handler.cpp b/engines/titanic/input_handler.cpp index cb1e3c9c68..15aac18cca 100644 --- a/engines/titanic/input_handler.cpp +++ b/engines/titanic/input_handler.cpp @@ -165,7 +165,7 @@ CGameObject *CInputHandler::dragEnd(const Point &pt, CTreeItem *dragItem) { } } - if (target) { + if (!target) { // Check if the cursor is on the PET. If so, pass to the PET // to see what specific element the drag ended on CProjectItem *project = view->getRoot(); |