From 8729d049f17c6f304f4e75c6af37ab24e100998b Mon Sep 17 00:00:00 2001 From: Bob Date: Thu, 21 Jan 2010 12:39:31 +1300 Subject: [PATCH] naming. --- OpenRa.Game/Traits/ProductionSurround.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRa.Game/Traits/ProductionSurround.cs b/OpenRa.Game/Traits/ProductionSurround.cs index aeca50ad11..6944e986f4 100644 --- a/OpenRa.Game/Traits/ProductionSurround.cs +++ b/OpenRa.Game/Traits/ProductionSurround.cs @@ -12,9 +12,9 @@ namespace OpenRa.Traits { public ProductionSurround(Actor self) : base(self) { } - static int2? FindAdjacentTile(Actor a, UnitMovementType umt) + static int2? FindAdjacentTile(Actor self, UnitMovementType umt) { - var tiles = Footprint.Tiles(a, a.traits.Get()); + var tiles = Footprint.Tiles(self, self.traits.Get()); var min = tiles.Aggregate(int2.Min) - new int2(1, 1); var max = tiles.Aggregate(int2.Max) + new int2(1, 1);