From b8b9d34404d9a0768d25c1949d6d393c78336e22 Mon Sep 17 00:00:00 2001 From: Curtis Shmyr Date: Wed, 1 Feb 2012 20:25:28 -0700 Subject: [PATCH] Aircraft can use friendly service depots/airfields/helipads --- OpenRA.Mods.RA/Air/Aircraft.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/Air/Aircraft.cs b/OpenRA.Mods.RA/Air/Aircraft.cs index 87853ec07d..49e76f1693 100755 --- a/OpenRA.Mods.RA/Air/Aircraft.cs +++ b/OpenRA.Mods.RA/Air/Aircraft.cs @@ -165,7 +165,7 @@ namespace OpenRA.Mods.RA.Air public bool AircraftCanEnter(Actor a) { - if( self.Owner != a.Owner ) return false; + if( self.AppearsHostileTo(a) ) return false; return Info.RearmBuildings.Contains( a.Info.Name ) || Info.RepairBuildings.Contains( a.Info.Name ); }