aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-06-29 10:37:52 +0000
committerTravis Howell2004-06-29 10:37:52 +0000
commitbebf55492aaa19b27204cc41749584b20d707a53 (patch)
tree60e26a98179b4a58961c3689991c9ac47e8e1ea9 /scumm/akos.cpp
parenta78226a9c528f888a40456fbd84bfdbeec36c370 (diff)
downloadscummvm-rg350-bebf55492aaa19b27204cc41749584b20d707a53.tar.gz
scummvm-rg350-bebf55492aaa19b27204cc41749584b20d707a53.tar.bz2
scummvm-rg350-bebf55492aaa19b27204cc41749584b20d707a53.zip
Revert hypothetical off-by-one fixin akos codec 16, causes glitches in HE games.
svn-id: r14120
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 1d94871cc9..0b879752ef 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1025,8 +1025,8 @@ byte AkosRenderer::codec16(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;
int32 width_unk, height_unk;