fix minor bug in minimap

This commit is contained in:
Chris Forbes
2010-01-16 22:42:45 +13:00
parent 04cdcdfa2b
commit fdf4d09738

View File

@@ -102,7 +102,7 @@ namespace OpenRa.Game.Graphics
foreach (var a in Game.world.Actors.Where(a => a.traits.Contains<Unit>())) foreach (var a in Game.world.Actors.Where(a => a.traits.Contains<Unit>()))
*(c + (a.Location.Y * bitmapData.Stride >> 2) + a.Location.X) = *(c + (a.Location.Y * bitmapData.Stride >> 2) + a.Location.X) =
Chat.paletteColors[(int)a.Owner.Palette].ToArgb(); playerColors[(int)a.Owner.Palette].ToArgb();
unchecked unchecked
{ {