diff --git a/OpenRa.Game/BuildingInfluenceMap.cs b/OpenRa.Game/BuildingInfluenceMap.cs index 07fa35061a..70e16c0912 100644 --- a/OpenRa.Game/BuildingInfluenceMap.cs +++ b/OpenRa.Game/BuildingInfluenceMap.cs @@ -15,7 +15,7 @@ namespace OpenRa.Game Actor[,] influence = new Actor[128, 128]; static readonly Pair NoClaim = Pair.New((Actor)null, float.MaxValue); - public BuildingInfluenceMap(int maxDistance) + public BuildingInfluenceMap() { for (int j = 0; j < 128; j++) for (int i = 0; i < 128; i++) diff --git a/OpenRa.Game/Game.cs b/OpenRa.Game/Game.cs index 235fe4da30..6f3df053c2 100644 --- a/OpenRa.Game/Game.cs +++ b/OpenRa.Game/Game.cs @@ -69,7 +69,7 @@ namespace OpenRa.Game foreach (TreeReference treeReference in map.Trees) world.Add(new Actor(treeReference, treeCache)); - BuildingInfluence = new BuildingInfluenceMap(8); + BuildingInfluence = new BuildingInfluenceMap(); UnitInfluence = new UnitInfluenceMap(); LoadMapBuildings(mapFile);