[Scummvm-cvs-logs] SF.net SVN: scummvm:[42797] scummvm/branches/branch-1-0-0/engines/cruise/ cruise_main.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Jul 26 11:39:56 CEST 2009


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

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

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/engines/cruise/cruise_main.cpp

Modified: scummvm/branches/branch-1-0-0/engines/cruise/cruise_main.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/cruise/cruise_main.cpp	2009-07-26 09:09:39 UTC (rev 42796)
+++ scummvm/branches/branch-1-0-0/engines/cruise/cruise_main.cpp	2009-07-26 09:39:56 UTC (rev 42797)
@@ -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