This commit is contained in:
Chris Forbes
2010-01-03 23:34:05 +13:00
parent cf68f026a6
commit a269f0683d

View File

@@ -24,12 +24,9 @@ namespace OpenRa.Game.Graphics
for( var y = 0; y < 128; y++ )
for (var x = 0; x < 128; x++)
{
// todo: use player color
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 ]);
//else
// bitmap.SetPixel(x, y, Color.Red);
}
sheet.Texture.SetData(bitmap);