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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Wed May 7 00:18:13 CEST 2008


Revision: 31911
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31911&view=rev
Author:   drmccoy
Date:     2008-05-06 15:18:12 -0700 (Tue, 06 May 2008)

Log Message:
-----------
Mouse hotspots are now properly evaluated when the mouse is set to a position via the scripts.

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

Modified: scummvm/trunk/engines/gob/draw_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/draw_v2.cpp	2008-05-06 22:09:27 UTC (rev 31910)
+++ scummvm/trunk/engines/gob/draw_v2.cpp	2008-05-06 22:18:12 UTC (rev 31911)
@@ -178,13 +178,13 @@
 					_vm->_util->delay(5);
 			}
 		}
-	} else
+	} else {
 		blitCursor();
+		_cursorX = newX;
+		_cursorY = newY;
+	}
 
 	_showCursor &= ~1;
-
-	_cursorX = newX;
-	_cursorY = newY;
 }
 
 void Draw_v2::printTotText(int16 id) {


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