Shadows under blocks in minimap

This commit is contained in:
Anuken
2022-01-23 23:19:44 -05:00
parent 12766dda56
commit fc58f5b003
4 changed files with 26 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ public class MapIO{
if(wall.synthetic()){
return team.color.rgba();
}
return (wall.solid ? wall.mapColor : !overlay.useColor ? floor.mapColor : overlay.mapColor).rgba();
return (((Floor)overlay).wallOre ? overlay.mapColor : wall.solid ? wall.mapColor : !overlay.useColor ? floor.mapColor : overlay.mapColor).rgba();
}
public static Pixmap writeImage(Tiles tiles){