diff --git a/OpenRa.Game/MainWindow.cs b/OpenRa.Game/MainWindow.cs index 831c29654c..546aad6e6d 100644 --- a/OpenRa.Game/MainWindow.cs +++ b/OpenRa.Game/MainWindow.cs @@ -73,7 +73,9 @@ namespace OpenRa.Game UnitSheetBuilder.AddUnit("2tnk"); UnitSheetBuilder.AddUnit("3tnk"); - world.Add(new Mcv(new PointF(24 * 5, 24 * 5))); + world.Add(new Mcv(new PointF(24 * 5, 24 * 5), 3)); + world.Add(new Mcv(new PointF(24 * 7, 24 * 5), 2)); + world.Add(new Mcv(new PointF(24 * 9, 24 * 5), 1)); } void LoadVertexBuffer() diff --git a/OpenRa.Game/Mcv.cs b/OpenRa.Game/Mcv.cs index a20298e1c1..590b68eeac 100644 --- a/OpenRa.Game/Mcv.cs +++ b/OpenRa.Game/Mcv.cs @@ -8,10 +8,10 @@ namespace OpenRa.Game { class Mcv : Actor { - public Mcv( PointF location ) + public Mcv( PointF location, int palette ) { this.location = location; - this.palette = 3; + this.palette = palette; } int GetFacing()