[Scummvm-cvs-logs] SF.net SVN: scummvm: [23098] scummvm/branches/branch-0-9-0/engines/scumm/he/wiz_he.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Jun 13 20:40:46 CEST 2006


Revision: 23098
Author:   eriktorbjorn
Date:     2006-06-13 11:40:35 -0700 (Tue, 13 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23098&view=rev

Log Message:
-----------
Backported fix for temporarily wrong cursor hotspot in HE games.

Modified Paths:
--------------
    scummvm/branches/branch-0-9-0/engines/scumm/he/wiz_he.cpp
Modified: scummvm/branches/branch-0-9-0/engines/scumm/he/wiz_he.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/engines/scumm/he/wiz_he.cpp	2006-06-13 18:40:00 UTC (rev 23097)
+++ scummvm/branches/branch-0-9-0/engines/scumm/he/wiz_he.cpp	2006-06-13 18:40:35 UTC (rev 23098)
@@ -1523,8 +1523,8 @@
 	uint8 *cursor = drawWizImage(resId, 0, 0, 0, 0, 0, 0, r, kWIFBlitToMemBuffer, 0, 0);
 	int32 cw, ch;
 	getWizImageDim(resId, 0, cw, ch);
+	_vm->setCursorHotspot(x, y);
 	_vm->setCursorFromBuffer(cursor, cw, ch, cw);
-	_vm->setCursorHotspot(x, y);
 
 	// Since we set up cursor palette for default cursor, disable it now
 	PaletteMan.disableCursorPalette(true);


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