diff options
author | Martin Kiewitz | 2010-08-01 09:20:21 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-01 09:20:21 +0000 |
commit | 68f7b9be4c415186e2aebd749f978f31c0661ead (patch) | |
tree | 5f7474feb1c22b56544b2963a2d11bbe2b4ac882 /engines | |
parent | 0db8427f46674f8a835e606aa01eef4b50bf0f22 (diff) | |
download | scummvm-rg350-68f7b9be4c415186e2aebd749f978f31c0661ead.tar.gz scummvm-rg350-68f7b9be4c415186e2aebd749f978f31c0661ead.tar.bz2 scummvm-rg350-68f7b9be4c415186e2aebd749f978f31c0661ead.zip |
SCI: reading the actual priority instead of guessing
svn-id: r51569
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/frameout.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp index 3db0017dfa..b8d50e77ce 100644 --- a/engines/sci/graphics/frameout.cpp +++ b/engines/sci/graphics/frameout.cpp @@ -68,9 +68,7 @@ void GfxFrameout::kernelAddPlane(reg_t object) { newPlane.object = object; newPlane.pictureId = 0xFFFF; - // TODO/FIXME: Check whether we should really default initialize the - // priority to 0xFFFF here. - newPlane.priority = 0xFFFF; + newPlane.priority = readSelectorValue(_segMan, object, SELECTOR(priority)); newPlane.lastPriority = 0xFFFF; // hidden _planes.push_back(newPlane); |