CaptureActor as Enter subclass & fixes 6658

This commit is contained in:
atlimit8
2014-10-04 10:05:33 -05:00
parent 268c63f7df
commit 4783b1f646
4 changed files with 43 additions and 27 deletions

View File

@@ -75,7 +75,7 @@ namespace OpenRA.Mods.RA
self.CancelActivity();
self.SetTargetLine(target, Color.Red);
self.QueueActivity(new Enter(self, target.Actor, new CaptureActor(target)));
self.QueueActivity(new CaptureActor(self, target.Actor));
}
class CaptureOrderTargeter : UnitOrderTargeter