Merge pull request #9782 from atlimit8/AircraftIsMovingAboveGround
Fix Aircaft.IsMoving Check
This commit is contained in:
@@ -441,7 +441,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public CPos NearestMoveableCell(CPos cell) { return cell; }
|
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)
|
public bool CanEnterTargetNow(Actor self, Target target)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user