[Scummvm-cvs-logs] SF.net SVN: scummvm: [23849] scummvm/trunk/engines/kyra/screen.cpp

vinterstum at users.sourceforge.net vinterstum at users.sourceforge.net
Sat Sep 9 18:10:18 CEST 2006


Revision: 23849
          http://svn.sourceforge.net/scummvm/?rev=23849&view=rev
Author:   vinterstum
Date:     2006-09-09 09:10:11 -0700 (Sat, 09 Sep 2006)

Log Message:
-----------
Ignore mouselock count when switching the cursor graphics, fixing a bug salty-horse reported on irc.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/screen.cpp

Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp	2006-09-09 14:54:41 UTC (rev 23848)
+++ scummvm/trunk/engines/kyra/screen.cpp	2006-09-09 16:10:11 UTC (rev 23849)
@@ -1915,12 +1915,10 @@
 	fillRect(0, 0, mouseWidth, mouseHeight, 0, 8);
 	drawShape(8, shape, 0, 0, 0, 0);
 
-	if (!_mouseLockCount)
-		CursorMan.showMouse(false);
+	CursorMan.showMouse(false);
 	copyRegionToBuffer(8, 0, 0, mouseWidth, mouseHeight, cursor);
 	CursorMan.replaceCursor(cursor, mouseWidth, mouseHeight, x, y, 0);
-	if (!_mouseLockCount)
-		CursorMan.showMouse(true);
+	CursorMan.showMouse(true);
 	free(cursor);
 
 	// makes sure that the cursor is drawn


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