[Scummvm-cvs-logs] SF.net SVN: scummvm:[47829] scummvm/trunk/engines/gob/hotspots.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Wed Feb 3 00:45:15 CET 2010


Revision: 47829
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47829&view=rev
Author:   strangerke
Date:     2010-02-02 23:45:14 +0000 (Tue, 02 Feb 2010)

Log Message:
-----------
Fascination - comment calls to getWindow() in checkMouse(). I think getWindow() is wrong, and to be replaced with my new check. The first window reacts !

Modified Paths:
--------------
    scummvm/trunk/engines/gob/hotspots.cpp

Modified: scummvm/trunk/engines/gob/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/gob/hotspots.cpp	2010-02-02 23:39:19 UTC (rev 47828)
+++ scummvm/trunk/engines/gob/hotspots.cpp	2010-02-02 23:45:14 UTC (rev 47829)
@@ -585,9 +585,9 @@
 				// Only consider click and move hotspots
 				continue;
 
-			if (spot.getWindow() != 0)
+//			if (spot.getWindow() != 0)
 				// Only check the main window
-				continue;
+//				continue;
 
 			if (!spot.isIn(_vm->_global->_inter_mouseX - dx, _vm->_global->_inter_mouseY - dy))
 				// If we're not in it, ignore it
@@ -615,9 +615,9 @@
 			if ((spot.flags & 0xFF00) != winId)
 				continue;
 
-			if (spot.getWindow() != 0)
+//			if (spot.getWindow() != 0)
 				// Only check the main window
-				continue;
+//				continue;
 
 			if (spot.getType() < kTypeMove)
 				// Only consider hotspots that can be clicked


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list