diff options
author | Max Horn | 2004-04-04 19:41:02 +0000 |
---|---|---|
committer | Max Horn | 2004-04-04 19:41:02 +0000 |
commit | 4de4353c39546f87ea493b1f403145ddfcfbbfac (patch) | |
tree | 462f86f571f8e885e8e65ad484beb24f9397244c /scumm | |
parent | 70237e74c96bb09384f87a48f01cdf897199dece (diff) | |
download | scummvm-rg350-4de4353c39546f87ea493b1f403145ddfcfbbfac.tar.gz scummvm-rg350-4de4353c39546f87ea493b1f403145ddfcfbbfac.tar.bz2 scummvm-rg350-4de4353c39546f87ea493b1f403145ddfcfbbfac.zip |
My recent change to _draw_bottom caused a regression in The Dig (and maybe elsewhere). Ah well, probably better to draw one line more than one line less anyway
svn-id: r13462
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/akos.cpp | 8 | ||||
-rw-r--r-- | scumm/costume.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 7f786ee585..61b5b0aea0 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -732,8 +732,8 @@ byte AkosRenderer::codec1(int xmoveCur, int ymoveCur) { if (_draw_top > rect.top) _draw_top = rect.top; - if (_draw_bottom < rect.bottom - 1) - _draw_bottom = rect.bottom - 1; + if (_draw_bottom < rect.bottom) + _draw_bottom = rect.bottom; v1.destptr = _outptr + v1.y * _outwidth + v1.x; @@ -776,8 +776,8 @@ byte AkosRenderer::codec5(int xmoveCur, int ymoveCur) { if (_draw_top > clip.top) _draw_top = clip.top; - if (_draw_bottom < clip.bottom - 1) - _draw_bottom = clip.bottom - 1; + if (_draw_bottom < clip.bottom) + _draw_bottom = clip.bottom; BompDrawData bdd; diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 5b76a02949..1f5e28b9c9 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -262,8 +262,8 @@ byte CostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) { if (_draw_top > rect.top) _draw_top = rect.top; - if (_draw_bottom < rect.bottom - 1) - _draw_bottom = rect.bottom - 1; + if (_draw_bottom < rect.bottom) + _draw_bottom = rect.bottom; if (_height + rect.top >= 256) { CHECK_HEAP |