Remove PPos overload of FindUnitsInCircle.
This commit is contained in:
@@ -113,7 +113,8 @@ namespace OpenRA.Mods.RA.Air
|
||||
/* repulsion only applies when we're flying */
|
||||
if (Altitude <= 0) return;
|
||||
|
||||
var otherHelis = self.World.FindUnitsInCircle(self.CenterLocation, Info.IdealSeparation)
|
||||
var separation = new WRange(Info.IdealSeparation * 1024 / Game.CellSize);
|
||||
var otherHelis = self.World.FindUnitsInCircle(self.CenterPosition, separation)
|
||||
.Where(a => a.HasTrait<Helicopter>());
|
||||
|
||||
var f = otherHelis
|
||||
|
||||
Reference in New Issue
Block a user