From c561a9487c6d662988050f38d08b54b5a572dbc9 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sun, 3 Feb 2008 10:53:42 +0000 Subject: Animations are now displayed in the right spots in BRA. svn-id: r30756 --- engines/parallaction/gfxbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/parallaction/gfxbase.cpp b/engines/parallaction/gfxbase.cpp index c1085299d8..6178c0e0df 100644 --- a/engines/parallaction/gfxbase.cpp +++ b/engines/parallaction/gfxbase.cpp @@ -163,7 +163,7 @@ void Gfx::drawGfxObjects(Graphics::Surface &surf) { 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); -- cgit v1.2.3