unfailing order stuff

This commit is contained in:
Chris Forbes
2010-01-09 11:17:59 +13:00
parent f4effd7ebf
commit 8763b3035a
6 changed files with 11 additions and 24 deletions

View File

@@ -32,19 +32,6 @@ namespace OpenRa.Game
this.TargetLocation = targetLocation;
this.TargetString = targetString;
}
// This is a hack - fix me
public readonly ISupportPowerImpl Power;
public Order(string orderString, Actor subject, ISupportPowerImpl power)
{
this.OrderString = orderString;
this.SubjectId = UIntFromActor( subject );
this.Power = power;
this.TargetActorId = UIntFromActor(null);
this.TargetLocation = int2.Zero;
this.TargetString = null;
}
public bool Validate()
{