From 9d547b183bfd56d94ec0b644f3ae12b668fd864e Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Sun, 4 Jan 2004 17:40:51 +0000 Subject: fixed screen updating svn-id: r12146 --- sword1/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword1') diff --git a/sword1/screen.cpp b/sword1/screen.cpp index 55135c9670..3ad436141f 100644 --- a/sword1/screen.cpp +++ b/sword1/screen.cpp @@ -206,7 +206,7 @@ void SwordScreen::updateScreen(void) { 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; -- cgit v1.2.3