diff options
author | Robert Göffringmann | 2004-01-04 17:40:51 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-01-04 17:40:51 +0000 |
commit | 9d547b183bfd56d94ec0b644f3ae12b668fd864e (patch) | |
tree | 9467dc7c276f44155a8b0a7fcd8886fcde20116b | |
parent | 4ca49386ed933533efaed857ee4a94ce0570494b (diff) | |
download | scummvm-rg350-9d547b183bfd56d94ec0b644f3ae12b668fd864e.tar.gz scummvm-rg350-9d547b183bfd56d94ec0b644f3ae12b668fd864e.tar.bz2 scummvm-rg350-9d547b183bfd56d94ec0b644f3ae12b668fd864e.zip |
fixed screen updating
svn-id: r12146
-rw-r--r-- | sword1/screen.cpp | 2 |
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; |