Projects compiled with BYOND 3.5 using large icons with null icon_state do not display the thumbnail (32x32 miniaturization of the icon) when executed with recent BYOND versions (at least as early as 442.)
Numbered Steps to Reproduce Problem:
1) Create an icon larger than 32x32.
2) Assign the icon to a turf with icon_state = null or "".
3) Compile in BYOND 3.5.
4) Run the project in BYOND 442 or later.
5) Place the turf on the map at runtime.
Code Snippet (if applicable) to Reproduce Problem:
world
maxx = 10
maxy = 10
area
icon = 'grid.dmi' // for visibility
Click(turf/Loc)
if(istype(Loc))
new/turf/test(Loc)
world << "[Loc] placed at [Loc.x], [Loc.y]."
turf/test
icon = 'DDcircle.png' // 160 x 160 png image
Expected Results:
Display a 32x32 miniaturized thumbnail of the icon.
Actual Results:
No icon display.
Does the problem occur:
Every time? Or how often? Every time I host Darke Dungeon with a recent BYOND version.
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur? Projects compiled in recent BYOND versions work properly.
Workarounds:
Recompile in BYOND 446.