aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-15 16:46:58 -0500
committerPaul Gilbert2017-01-15 16:46:58 -0500
commit0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12 (patch)
tree7cce33afdf1586a59fb31474733cfe460bd072e4
parent3fa46888a81cee152aa064036e62081b403c2053 (diff)
downloadscummvm-rg350-0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12.tar.gz
scummvm-rg350-0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12.tar.bz2
scummvm-rg350-0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12.zip
TITANIC: Fix using inventory items on each other
-rw-r--r--engines/titanic/input_handler.cpp2
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();