diff options
author | Max Horn | 2004-04-03 22:52:36 +0000 |
---|---|---|
committer | Max Horn | 2004-04-03 22:52:36 +0000 |
commit | 3f2fc3e8bebf4cd7b335504c328a27df91b7568d (patch) | |
tree | e0ed1797aff6b878c1879783e1b4b817ed1e6831 /scumm/akos.cpp | |
parent | 90dd9af577adf58f217391ec031983529f46ccdd (diff) | |
download | scummvm-rg350-3f2fc3e8bebf4cd7b335504c328a27df91b7568d.tar.gz scummvm-rg350-3f2fc3e8bebf4cd7b335504c328a27df91b7568d.tar.bz2 scummvm-rg350-3f2fc3e8bebf4cd7b335504c328a27df91b7568d.zip |
cleanup
svn-id: r13450
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index e17b2206ab..0e7cc805c9 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -767,7 +767,7 @@ byte AkosRenderer::codec5(int xmoveCur, int ymoveCur) { maxw = _outwidth; maxh = _outheight; - _vm->markRectAsDirty(kMainVirtScreen, clip , _actorID); + _vm->markRectAsDirty(kMainVirtScreen, clip, _actorID); clip.clip(maxw, maxh); @@ -963,19 +963,19 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) { clip.left = _actorX + xmoveCur; } - clip.top = ymoveCur + _actorY; + clip.top = _actorY + ymoveCur; clip.right = clip.left + _width; clip.bottom = clip.top + _height; maxw = _outwidth; maxh = _outheight; + _vm->markRectAsDirty(kMainVirtScreen, clip, _actorID); + skip_x = 0; skip_y = 0; cur_x = _width - 1; cur_y = _height - 1; - _vm->markRectAsDirty(kMainVirtScreen, clip, _actorID); - if (clip.left < 0) { skip_x = -clip.left; clip.left = 0; |