diff options
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index fee92da083..a556beb1a0 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -1192,7 +1192,7 @@ void SciGuiGfx::AddToPicDrawCels(List *list) { view->getCelRect(loopNo, celNo, x, y, priority, &celRect); // draw corresponding cel - drawCel(viewId, loopNo, celNo, celRect.left, celRect.top, z, paletteNo); + drawCel(viewId, loopNo, celNo, celRect.left, celRect.top, priority, paletteNo); if ((signal & SCI_ANIMATE_SIGNAL_IGNOREACTOR) == 0) { celRect.top = CLIP<int16>(PriorityToCoordinate(priority) - 1, celRect.top, celRect.bottom - 1); FillRect(celRect, SCI_SCREEN_MASK_CONTROL, 0, 0, 15); |