diff options
-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 |