Fix Aircaft.IsMoving Check

This commit is contained in:
atlimit8
2015-10-27 10:45:45 -05:00
parent 549f8a9e7c
commit 2772ddbab4

View File

@@ -441,7 +441,7 @@ namespace OpenRA.Mods.Common.Traits
public CPos NearestMoveableCell(CPos cell) { return cell; }
public bool IsMoving { get { return self.CenterPosition.Z > 0; } set { } }
public bool IsMoving { get { return self.World.Map.DistanceAboveTerrain(CenterPosition).Length > 0; } set { } }
public bool CanEnterTargetNow(Actor self, Target target)
{