Revert "Expose Plane turn-to-attack delay to yaml."

This reverts commit 02da41e5c5.
This commit is contained in:
Oliver Brakmann
2015-04-03 23:42:35 +02:00
parent a8d7140c1a
commit 32ed63727d
13 changed files with 45 additions and 60 deletions

View File

@@ -22,14 +22,14 @@ namespace OpenRA.Mods.Common.Activities
readonly WRange maxRange;
readonly WRange minRange;
public Fly(Actor self, Target t, Plane plane)
public Fly(Actor self, Target t)
{
plane = self.Trait<Plane>();
target = t;
this.plane = plane;
}
public Fly(Actor self, Target t, Plane plane, WRange minRange, WRange maxRange)
: this(self, t, plane)
public Fly(Actor self, Target t, WRange minRange, WRange maxRange)
: this(self, t)
{
this.maxRange = maxRange;
this.minRange = minRange;