[Scummvm-cvs-logs] SF.net SVN: scummvm:[51569] scummvm/trunk/engines/sci/graphics/frameout.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Aug 1 11:20:23 CEST 2010
Revision: 51569
http://scummvm.svn.sourceforge.net/scummvm/?rev=51569&view=rev
Author: m_kiewitz
Date: 2010-08-01 09:20:21 +0000 (Sun, 01 Aug 2010)
Log Message:
-----------
SCI: reading the actual priority instead of guessing
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/frameout.cpp
Modified: scummvm/trunk/engines/sci/graphics/frameout.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/frameout.cpp 2010-08-01 08:56:24 UTC (rev 51568)
+++ scummvm/trunk/engines/sci/graphics/frameout.cpp 2010-08-01 09:20:21 UTC (rev 51569)
@@ -68,9 +68,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list