This commit is contained in:
Chris Forbes
2010-01-03 23:36:34 +13:00
parent a269f0683d
commit 1065f7e755

View File

@@ -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 ]);