[Scummvm-cvs-logs] SF.net SVN: scummvm: [30756] scummvm/trunk/engines/parallaction/gfxbase.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Feb 3 11:53:42 CET 2008


Revision: 30756
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30756&view=rev
Author:   peres001
Date:     2008-02-03 02:53:42 -0800 (Sun, 03 Feb 2008)

Log Message:
-----------
Animations are now displayed in the right spots in BRA.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/gfxbase.cpp

Modified: scummvm/trunk/engines/parallaction/gfxbase.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/gfxbase.cpp	2008-02-03 10:48:07 UTC (rev 30755)
+++ scummvm/trunk/engines/parallaction/gfxbase.cpp	2008-02-03 10:53:42 UTC (rev 30756)
@@ -163,7 +163,7 @@
 			GfxObj *obj = *b;
 			if (obj->isVisible()) {
 				obj->getRect(obj->frame, rect);
-				rect.moveTo(obj->x, obj->y);
+				rect.translate(obj->x, obj->y);
 				data = obj->getData(obj->frame);
 				if (obj->getSize(obj->frame) == obj->getRawSize(obj->frame)) {
 					blt(rect, data, &surf, obj->layer, 0);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list