Merge HeliFly into Fly

This commit is contained in:
reaperrr
2019-05-01 15:45:10 +02:00
committed by Paul Chote
parent 5698ea0910
commit 4f8f8cfb9d
14 changed files with 129 additions and 243 deletions

View File

@@ -96,7 +96,7 @@ namespace OpenRA.Mods.Common.Activities
var targetPosition = cargo.CenterPosition - carryableBody.LocalToWorld(localOffset);
if ((self.CenterPosition - targetPosition).HorizontalLengthSquared != 0)
{
QueueChild(self, new HeliFly(self, Target.FromPos(targetPosition)), true);
QueueChild(self, new Fly(self, Target.FromPos(targetPosition)), true);
return this;
}