[Scummvm-git-logs] scummvm master -> 0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12

dreammaster dreammaster at scummvm.org
Sun Jan 15 22:47:07 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0726d3f37d TITANIC: Fix using inventory items on each other


Commit: 0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12
    https://github.com/scummvm/scummvm/commit/0726d3f37d871bbdd00e1ce7b505f81ed1ae4b12
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-01-15T16:46:58-05:00

Commit Message:
TITANIC: Fix using inventory items on each other

Changed paths:
    engines/titanic/input_handler.cpp


diff --git a/engines/titanic/input_handler.cpp b/engines/titanic/input_handler.cpp
index cb1e3c9..15aac18 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();





More information about the Scummvm-git-logs mailing list