migrating most things to use the Target struct rather than Actor directly.

This commit is contained in:
Chris Forbes
2010-07-05 18:25:10 +12:00
parent 88b705c8ef
commit 5c61c9d3a9
14 changed files with 57 additions and 49 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenRA.Mods.RA
protected override void QueueAttack(Actor self, Order order)
{
target = order.TargetActor;
target = Target.FromActor(order.TargetActor);
self.QueueActivity(new FlyAttack(order.TargetActor));
}
}