From 7105e294e2b48c498fd22d555bff0d6851148109 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 25 Sep 2010 19:43:36 +0000 Subject: SCI: little optimization in kAddToPic definitely save to backport, belongs to r52887 svn-id: r52888 --- engines/sci/graphics/animate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 808fae1e17..c755586a5c 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -578,7 +578,7 @@ void GfxAnimate::addToPicDrawCels() { } // draw corresponding cel - _paint16->drawCel(it->viewId, it->loopNo, it->celNo, it->celRect, it->priority, it->paletteNo, it->scaleX, it->scaleY); + _paint16->drawCel(view, it->loopNo, it->celNo, it->celRect, it->priority, it->paletteNo, it->scaleX, it->scaleY); if ((it->signal & kSignalIgnoreActor) == 0) { it->celRect.top = CLIP(_ports->kernelPriorityToCoordinate(it->priority) - 1, it->celRect.top, it->celRect.bottom - 1); _paint16->fillRect(it->celRect, GFX_SCREEN_MASK_CONTROL, 0, 0, 15); -- cgit v1.2.3