[Scummvm-cvs-logs] CVS: scummvm/sword1 screen.cpp,1.38,1.39

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Feb 22 08:45:05 CET 2004


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

Modified Files:
	screen.cpp 
Log Message:
Cody56's fix for a minor graphics glitch.

<Cody56> but don't commit it to the 0.6.0 branch


Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/screen.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- screen.cpp	22 Feb 2004 16:09:34 -0000	1.38
+++ screen.cpp	22 Feb 2004 16:31:32 -0000	1.39
@@ -737,7 +737,7 @@
 	*pSprX = (uint16)sprX;
 	*pSprY = (uint16)sprY;
 
-	if (*pSprWidth && *pSprHeight && !_fullRefresh) {
+	if (*pSprWidth && *pSprHeight) {
 		// sprite will be drawn, so mark it in the grid buffer (we don't need to keep
 		// track of changed blocks if we're going to do a full refresh, anyways.
 		uint16 gridH = (*pSprHeight + (sprY & (SCRNGRID_Y - 1)) + (SCRNGRID_Y - 1)) / SCRNGRID_Y;





More information about the Scummvm-git-logs mailing list