From b86d632c8cdb9de6ef827ea7ae3469d50a8a9e4f Mon Sep 17 00:00:00 2001 From: Forcecore Date: Sat, 22 Jul 2017 18:11:22 -0500 Subject: [PATCH] Land activity now lets the actor to land midair Midair, at the altitude of the target actor. --- OpenRA.Mods.Common/Activities/Air/Land.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Activities/Air/Land.cs b/OpenRA.Mods.Common/Activities/Air/Land.cs index 9a616ebb9c..c5ac9564dd 100644 --- a/OpenRA.Mods.Common/Activities/Air/Land.cs +++ b/OpenRA.Mods.Common/Activities/Air/Land.cs @@ -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; }