aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-09-25 19:43:36 +0000
committerMartin Kiewitz2010-09-25 19:43:36 +0000
commit7105e294e2b48c498fd22d555bff0d6851148109 (patch)
treecef05d909547441c7bba6e71bb432051ef7d280a /engines/sci
parent18cd3333c060bb5284f26275a14b7704e79aa440 (diff)
downloadscummvm-rg350-7105e294e2b48c498fd22d555bff0d6851148109.tar.gz
scummvm-rg350-7105e294e2b48c498fd22d555bff0d6851148109.tar.bz2
scummvm-rg350-7105e294e2b48c498fd22d555bff0d6851148109.zip
SCI: little optimization in kAddToPic
definitely save to backport, belongs to r52887 svn-id: r52888
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/animate.cpp2
1 files changed, 1 insertions, 1 deletions
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<int16>(_ports->kernelPriorityToCoordinate(it->priority) - 1, it->celRect.top, it->celRect.bottom - 1);
_paint16->fillRect(it->celRect, GFX_SCREEN_MASK_CONTROL, 0, 0, 15);