[Scummvm-cvs-logs] SF.net SVN: scummvm:[40605] scummvm/trunk/engines/sci/gfx/operations.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri May 15 14:41:28 CEST 2009


Revision: 40605
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40605&view=rev
Author:   thebluegr
Date:     2009-05-15 12:41:27 +0000 (Fri, 15 May 2009)

Log Message:
-----------
Reverted the SQ5 change introduced with commit #40574, as this makes the mouse cursor invisible in games which have multicolored cursors

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gfx/operations.cpp

Modified: scummvm/trunk/engines/sci/gfx/operations.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/operations.cpp	2009-05-15 12:39:58 UTC (rev 40604)
+++ scummvm/trunk/engines/sci/gfx/operations.cpp	2009-05-15 12:41:27 UTC (rev 40605)
@@ -1214,7 +1214,7 @@
 	}
 
 	// Eco Quest 1 uses a 1x1 transparent cursor to hide the cursor from the user. Some scalers don't seem to support this.
-	if (new_pointer->width < 2 || new_pointer->height < 2 || new_pointer->data_size <= 0)
+	if (new_pointer->width < 2 || new_pointer->height < 2)
 		return _gfxop_set_pointer(state, NULL, NULL);
 
 	if (hotspot)


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