aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-12 20:27:47 +0000
committerMartin Kiewitz2009-10-12 20:27:47 +0000
commit1821ea1bd35f423bf3ae5627d2345fe44bdc732e (patch)
treea9d8ac24452e244597840ee78c1d8071aca32b5c
parent0cc28b5cd75dd9b3b6bbe578c20e8eed0689f1f5 (diff)
downloadscummvm-rg350-1821ea1bd35f423bf3ae5627d2345fe44bdc732e.tar.gz
scummvm-rg350-1821ea1bd35f423bf3ae5627d2345fe44bdc732e.tar.bz2
scummvm-rg350-1821ea1bd35f423bf3ae5627d2345fe44bdc732e.zip
SCI/newgui: addToPic (list) replaced priority with z, to fix drawing coordinates of static cels within a picture
svn-id: r44995
-rw-r--r--engines/sci/gui/gui_gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp
index 4143d1c720..0ad6008e91 100644
--- a/engines/sci/gui/gui_gfx.cpp
+++ b/engines/sci/gui/gui_gfx.cpp
@@ -1384,7 +1384,7 @@ void SciGuiGfx::AddToPicDrawCels(List *list) {
view = new SciGuiView(_s->resMan, _screen, _palette, listEntry->viewId);
// Create rect according to coordinates and given cel
- view->getCelRect(listEntry->loopNo, listEntry->celNo, listEntry->x, listEntry->y, listEntry->priority, &listEntry->celRect);
+ view->getCelRect(listEntry->loopNo, listEntry->celNo, listEntry->x, listEntry->y, listEntry->z, &listEntry->celRect);
// draw corresponding cel
drawCel(listEntry->viewId, listEntry->loopNo, listEntry->celNo, listEntry->celRect, listEntry->priority, listEntry->paletteNo);