Rename FindUnits -> FindActorsInBox.

This commit is contained in:
Paul Chote
2013-07-20 14:03:35 +12:00
parent 37c02fea79
commit 27f04c1b78
9 changed files with 13 additions and 13 deletions

View File

@@ -80,7 +80,7 @@ namespace OpenRA.Mods.RA.Air
if (self.Trait<IMove>().Altitude != 0)
return null; // not on the ground.
return self.World.FindUnits(self.CenterPosition, self.CenterPosition)
return self.World.FindActorsInBox(self.CenterPosition, self.CenterPosition)
.FirstOrDefault( a => a.HasTrait<Reservable>() );
}