aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorRobert Göffringmann2004-01-04 17:40:51 +0000
committerRobert Göffringmann2004-01-04 17:40:51 +0000
commit9d547b183bfd56d94ec0b644f3ae12b668fd864e (patch)
tree9467dc7c276f44155a8b0a7fcd8886fcde20116b /sword1
parent4ca49386ed933533efaed857ee4a94ce0570494b (diff)
downloadscummvm-rg350-9d547b183bfd56d94ec0b644f3ae12b668fd864e.tar.gz
scummvm-rg350-9d547b183bfd56d94ec0b644f3ae12b668fd864e.tar.bz2
scummvm-rg350-9d547b183bfd56d94ec0b644f3ae12b668fd864e.zip
fixed screen updating
svn-id: r12146
Diffstat (limited to 'sword1')
-rw-r--r--sword1/screen.cpp2
1 files changed, 1 insertions, 1 deletions
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;