[Scummvm-cvs-logs] CVS: scummvm/sword1 screen.cpp,1.37.2.3,1.37.2.4
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sat Mar 13 04:47:04 CET 2004
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7284
Modified Files:
Tag: branch-0-6-0
screen.cpp
Log Message:
Applied Lavosspawn's bugfix for the graphics glitch when climbing down the
hay cart in Ireland.
Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/screen.cpp,v
retrieving revision 1.37.2.3
retrieving revision 1.37.2.4
diff -u -d -r1.37.2.3 -r1.37.2.4
--- screen.cpp 1 Mar 2004 07:53:35 -0000 1.37.2.3
+++ screen.cpp 13 Mar 2004 12:38:12 -0000 1.37.2.4
@@ -742,7 +742,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