aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-09-28 21:53:29 +0000
committerGregory Montoir2004-09-28 21:53:29 +0000
commit21d2a6ec5530ece29bba0d97a2f88060f2cd1f6b (patch)
tree9627d8d68318a1a57beff4eccfbb890f83e9f28f /scumm/akos.cpp
parentabba267bb7680386e3ee2b075052fadfe581a0fc (diff)
downloadscummvm-rg350-21d2a6ec5530ece29bba0d97a2f88060f2cd1f6b.tar.gz
scummvm-rg350-21d2a6ec5530ece29bba0d97a2f88060f2cd1f6b.tar.bz2
scummvm-rg350-21d2a6ec5530ece29bba0d97a2f88060f2cd1f6b.zip
cleanup
svn-id: r15334
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index d3fb0ef285..565b54f8e1 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1219,8 +1219,8 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
}
dst.top = _actorY + ymoveCur;
- dst.right = dst.left + _width - 1;
- dst.bottom = dst.top + _height - 1;
+ dst.right = dst.left + _width;
+ dst.bottom = dst.top + _height;
dst.clip(_clipOverride);
src = dst;
@@ -1228,7 +1228,6 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
_vm->markRectAsDirty(kMainVirtScreen, dst, _actorID);
- // cyx: are these variables really useful ?
if (_draw_top > dst.top)
_draw_top = dst.top;
if (_draw_bottom < dst.bottom)