Remove HeliFlyCircle activity
FlyCircle actually works fine for D2k Carryalls, and no other place used this.
This commit is contained in:
@@ -619,11 +619,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
self.QueueActivity(new FlyCircle(self, -1, Info.IdleTurnSpeed > -1 ? Info.IdleTurnSpeed : TurnSpeed));
|
||||
else if (atLandAltitude && !CanLand(self.Location) && ReservedActor == null)
|
||||
self.QueueActivity(new TakeOff(self));
|
||||
else if (Info.CanHover && self.Info.HasTraitInfo<AutoCarryallInfo>() && Info.IdleTurnSpeed > -1)
|
||||
else if (Info.CanHover && Info.IdleTurnSpeed > 0)
|
||||
{
|
||||
// Temporary HACK for the AutoCarryall special case (needs CanHover, but also HeliFlyCircle on idle).
|
||||
// Temporary HACK for the AutoCarryall special case (needs CanHover, but also FlyCircle on idle).
|
||||
// Will go away soon (in a separate PR) with the arrival of ActionsWhenIdle.
|
||||
self.QueueActivity(new HeliFlyCircle(self, Info.IdleTurnSpeed > -1 ? Info.IdleTurnSpeed : TurnSpeed));
|
||||
self.QueueActivity(new FlyCircle(self, -1, Info.IdleTurnSpeed > -1 ? Info.IdleTurnSpeed : TurnSpeed));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user