diff options
author | Colin Snover | 2016-12-18 22:47:57 -0600 |
---|---|---|
committer | Colin Snover | 2016-12-19 14:46:58 -0600 |
commit | ba619a08dd5a2076c361155690736043f01b4703 (patch) | |
tree | 76e8bc802662ea2eee1d972d90585362c86635dc /engines/wintermute/dcgf.h | |
parent | 6412b323860e9eb351efd46c57ea65ebd56b2823 (diff) | |
download | scummvm-rg350-ba619a08dd5a2076c361155690736043f01b4703.tar.gz scummvm-rg350-ba619a08dd5a2076c361155690736043f01b4703.tar.bz2 scummvm-rg350-ba619a08dd5a2076c361155690736043f01b4703.zip |
SCI32: Change plane and screen item sorting algorithm
SSCI's last resort comparison here was to compare the object IDs
of planes & screen items, but this randomly breaks (at least) the
"you have died" dialog at the end of Phant1, and text & buttons
in Hoyle5, even in SSCI itself.
This commit changes last resort comparison to use a monotonically
increasing ID instead, which keeps objects with identical priority
& z-index in creation order when compared.
Fixes Trac#9585.
Diffstat (limited to 'engines/wintermute/dcgf.h')
0 files changed, 0 insertions, 0 deletions