From 1065f7e7557fe8f302a5938d3fcb9ff09b39ea3c Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 3 Jan 2010 23:36:34 +1300 Subject: [PATCH] minimap --- OpenRa.Game/Graphics/Minimap.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRa.Game/Graphics/Minimap.cs b/OpenRa.Game/Graphics/Minimap.cs index 4a6ffdaff8..0616404c20 100644 --- a/OpenRa.Game/Graphics/Minimap.cs +++ b/OpenRa.Game/Graphics/Minimap.cs @@ -24,6 +24,8 @@ namespace OpenRa.Game.Graphics for( var y = 0; y < 128; y++ ) for (var x = 0; x < 128; x++) { + // todo: terrain, units, perf. + var b = Game.BuildingInfluence.GetBuildingAt(new int2(x, y)); if (b != null && b.Owner != null) bitmap.SetPixel(x, y, Chat.paletteColors[ (int)b.Owner.Palette ]);