From 3ba2dae1dcdf3b3606c7dfe35f44077c10201919 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 5 Feb 2010 20:24:59 +1300 Subject: [PATCH] Fix minimap palette --- OpenRa.Game/Graphics/Minimap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Graphics/Minimap.cs b/OpenRa.Game/Graphics/Minimap.cs index 20219d4956..4b50efffca 100644 --- a/OpenRa.Game/Graphics/Minimap.cs +++ b/OpenRa.Game/Graphics/Minimap.cs @@ -50,7 +50,7 @@ namespace OpenRa.Graphics static Cache terrainTypeColors = new Cache( 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 }