Land activity now lets the actor to land midair

Midair, at the altitude of the target actor.
This commit is contained in:
Forcecore
2017-07-22 18:11:22 -05:00
committed by reaperrr
parent 205c947670
commit b86d632c8c

View File

@@ -44,7 +44,7 @@ namespace OpenRA.Mods.Common.Activities
return NextActivity;
}
Fly.FlyToward(self, plane, d.Yaw.Facing, WDist.Zero);
Fly.FlyToward(self, plane, d.Yaw.Facing, new WDist(target.CenterPosition.Z));
return this;
}