Fix minimap palette

This commit is contained in:
Paul Chote
2010-02-05 20:24:59 +13:00
parent e3e4f4a853
commit 3ba2dae1dc

View File

@@ -50,7 +50,7 @@ namespace OpenRa.Graphics
static Cache<string, Color[]> terrainTypeColors = new Cache<string, Color[]>(
theater =>
{
var pal = new Palette(FileSystem.Open(theater + ".pal"));
var pal = Game.world.WorldRenderer.GetPalette("terrain");
return new[] {
theater == "snow" ? 0xe3 :0x1a,
0x63, 0x2f, 0x1f, 0x14, 0x64, 0x1f, 0x68, 0x6b, 0x6d, 0x88 }