MantisBT - VCMI
View Issue Details
0002026VCMIGUI - Adventure Mappublic2015-01-04 12:392016-11-11 08:22
Warmonger 
Warmonger 
normalminoralways
closedfixed 
0.97 
0.97c 
0002026: WoG objects are always rendered above other objects
Check screenshot. It does not depend on order the objects were placed. In case of Citadels, this completely covers object guard.
Generate random map with WoG mod enabled
No tags attached.
png WoG objects.png (156,048) 2015-01-04 12:39
https://bugs.vcmi.eu/file_download.php?file_id=2061&type=bug
png

png WoG objects2.png (175,172) 2015-01-04 12:39
https://bugs.vcmi.eu/file_download.php?file_id=2062&type=bug
png
Issue History
2015-01-04 12:39WarmongerNew Issue
2015-01-04 12:39WarmongerFile Added: WoG objects.png
2015-01-04 12:39WarmongerFile Added: WoG objects2.png
2015-01-25 14:27FayNote Added: 0005398
2015-03-12 09:10WarmongerNote Added: 0005626
2015-03-12 09:10WarmongerStatusnew => resolved
2015-03-12 09:10WarmongerFixed in Version => 0.97c
2015-03-12 09:10WarmongerResolutionopen => fixed
2015-03-12 09:10WarmongerAssigned To => Warmonger
2016-11-11 08:22SXXStatusresolved => closed

Notes
(0005398)
Fay   
2015-01-25 14:27   
Note that it's not limited to WoG objects -- for example it also happens with monsters on the left side of dragon utopia.
(0005626)
Warmonger   
2015-03-12 09:10   
Okay, figured it out. Objects loaded from .json had uninitialized zIndex value. Fixed in https://github.com/vcmi/vcmi/commit/a832b7efeea33fbcb9542db2ce8dcc59cec1e51d [^]