[Scummvm-cvs-logs] CVS: scummvm/scumm cursor.cpp,2.12,2.13

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Mon Aug 23 23:21:02 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7224

Modified Files:
	cursor.cpp 
Log Message:
Fixed slight regression in the Loom cursor shape: The whole thing was
shifted one step to the left, so the leftmost column wasn't included.

(Hotspot is still wrong, of course - that's a different bug.)


Index: cursor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/cursor.cpp,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -d -r2.12 -r2.13
--- cursor.cpp	23 Aug 2004 08:37:55 -0000	2.12
+++ cursor.cpp	24 Aug 2004 06:20:30 -0000	2.13
@@ -287,7 +287,7 @@
 	for (int h = 0; h < s.h; h++) {
 		for (int w = 0; w < s.w; w++) {
 			if (buf[s.pitch * h + w] != 123)
-				*ptr |= 1 << (16 - w);
+				*ptr |= 1 << (15 - w);
 		}
 		ptr++;
 	}





More information about the Scummvm-git-logs mailing list