diff --git a/OpenRA.Mods.RA/Aircraft.cs b/OpenRA.Mods.RA/Aircraft.cs index 7bfa2167ef..ccab6a4507 100755 --- a/OpenRA.Mods.RA/Aircraft.cs +++ b/OpenRA.Mods.RA/Aircraft.cs @@ -35,7 +35,7 @@ namespace OpenRA.Mods.RA public virtual object Create( ActorInitializer init ) { return new Aircraft( init ); } } - public class Aircraft : IMove + public class Aircraft : IMove, IOccupySpace { [Sync] public int2 Location; @@ -67,5 +67,8 @@ namespace OpenRA.Mods.RA public UnitMovementType GetMovementType() { return UnitMovementType.Fly; } public bool CanEnterCell(int2 location) { return true; } + + int2[] noCells = new int2[] { }; + public IEnumerable OccupiedCells() { return noCells; } } }