[Scummvm-cvs-logs] CVS: scummvm/sword1 screen.cpp,1.30,1.31

Robert G?ffringmann lavosspawn at users.sourceforge.net
Sun Jan 4 09:42:08 CET 2004


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1:/tmp/cvs-serv11381/sword1

Modified Files:
	screen.cpp 
Log Message:
fixed screen updating

Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/screen.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- screen.cpp	4 Jan 2004 05:21:22 -0000	1.30
+++ screen.cpp	4 Jan 2004 17:40:51 -0000	1.31
@@ -206,7 +206,7 @@
 			uint16 cpWidth = 0;
 			uint16 cpHeight = SCRNGRID_Y;
 			if (cnty == gridH - 1)
-				cpHeight = diffY;
+				cpHeight = SCRNGRID_Y - diffY;
 			for (uint16 cntx = 0; cntx < gridW; cntx++)
 				if (gridPos[cntx]) {
 					gridPos[cntx] >>= 1;





More information about the Scummvm-git-logs mailing list