[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.170,1.171

Travis Howell kirben at users.sourceforge.net
Mon Sep 13 05:38:05 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10246/scumm

Modified Files:
	akos.cpp 
Log Message:

Not needed.


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- akos.cpp	13 Sep 2004 12:30:16 -0000	1.170
+++ akos.cpp	13 Sep 2004 12:34:53 -0000	1.171
@@ -1220,7 +1220,7 @@
 }
 
 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 @@
 	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);
 





More information about the Scummvm-git-logs mailing list