Descriptive Problem Summary:
Clothing overlays on mobs, using FLOAT_LAYER, sometimes change their layer order as you move around the screen.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
1) Create a simple world with 32x32 icon size and pixel movement, with the map format set to SIDE_MAP.
2) Create mob and clothes/hair/etc. icons that are 64x64.
3) Give all of the clothing, hair, etc. variations on FLOAT_LAYER and put them in mob.overlays.
4) Put multiple mobs on the map.
5) Compile and start walking around.
Expected Results:
The layer order should never change.
Actual Results:
Sometimes layers appear badly out of order, even putting the body above the clothes. This depends on the positions of the mobs on the screen.