[Scummvm-cvs-logs] SF.net SVN: scummvm:[42798] scummvm/trunk/engines/cruise/cruise_main.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Jul 26 11:40:35 CEST 2009


Revision: 42798
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42798&view=rev
Author:   dreammaster
Date:     2009-07-26 09:40:35 +0000 (Sun, 26 Jul 2009)

Log Message:
-----------
Bugfix for mouse button clicks getting counted multiple times

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/cruise_main.cpp

Modified: scummvm/trunk/engines/cruise/cruise_main.cpp
===================================================================
--- scummvm/trunk/engines/cruise/cruise_main.cpp	2009-07-26 09:39:56 UTC (rev 42797)
+++ scummvm/trunk/engines/cruise/cruise_main.cpp	2009-07-26 09:40:35 UTC (rev 42798)
@@ -1538,20 +1538,17 @@
 								aniX = mouseX;
 								aniY = mouseY;
 								animationStart = true;
-								buttonDown = 0;
 							}
 						} else {
 							aniX = mouseX;
 							aniY = mouseY;
 							animationStart = true;
-							buttonDown = 0;
 						}
 					} else {
 						// No object found, we move the character to the cursor
 						aniX = mouseX;
 						aniY = mouseY;
 						animationStart = true;
-						buttonDown = 0;
 					}
 				} else {
 					// handle click in menu


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