aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-09-13 12:34:53 +0000
committerTravis Howell2004-09-13 12:34:53 +0000
commit831e967e9f2360db2b8fa990d185fb9a19771091 (patch)
tree8c650957d32262c4a2958da9bd4207120219c8a7
parent0ede5ca36e9c44d47da448ca173440a9d664579b (diff)
downloadscummvm-rg350-831e967e9f2360db2b8fa990d185fb9a19771091.tar.gz
scummvm-rg350-831e967e9f2360db2b8fa990d185fb9a19771091.tar.bz2
scummvm-rg350-831e967e9f2360db2b8fa990d185fb9a19771091.zip
Not needed.
svn-id: r15094
-rw-r--r--scumm/akos.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 796f735104..bee44d5d01 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1220,7 +1220,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) {
}
byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
- Common::Rect clip, src, dst;
+ Common::Rect src, dst;
if (!_mirror) {
dst.left = (_actorX - xmoveCur - _width) + 1;
@@ -1232,16 +1232,11 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
src.right = _width - 1;
src.bottom = _height - 1;
- clip.top = clip.left = 0;
- clip.right = _outwidth - 1;
- clip.bottom = _outheight - 1;
-
dst.top = _actorY + ymoveCur;
dst.right = dst.left + _width - 1;
dst.bottom = dst.top + _height - 1;
- clip.clip(_clipOverride);
- dst.clip(clip);
+ dst.clip(_clipOverride);
_vm->markRectAsDirty(kMainVirtScreen, dst, _actorID);