diff options
author | Martin Kiewitz | 2010-09-25 19:43:36 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-09-25 19:43:36 +0000 |
commit | 7105e294e2b48c498fd22d555bff0d6851148109 (patch) | |
tree | cef05d909547441c7bba6e71bb432051ef7d280a /engines/sci | |
parent | 18cd3333c060bb5284f26275a14b7704e79aa440 (diff) | |
download | scummvm-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.cpp | 2 |
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); |