diff options
author | Martin Kiewitz | 2009-10-09 18:57:16 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-09 18:57:16 +0000 |
commit | 918827ce99583b5bd62fa5bdb10a55c5427e256c (patch) | |
tree | 9f06efb5a5901147d57a87f072be58d601b236db | |
parent | 18df7c69ee9e5e6cade2bcd55dac1bba0ba949a2 (diff) | |
download | scummvm-rg350-918827ce99583b5bd62fa5bdb10a55c5427e256c.tar.gz scummvm-rg350-918827ce99583b5bd62fa5bdb10a55c5427e256c.tar.bz2 scummvm-rg350-918827ce99583b5bd62fa5bdb10a55c5427e256c.zip |
SCI/newgui: correction for kAddToPic, fixes guards in 1st screen of kq1
svn-id: r44841
-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); |