Revert "allow the AI to base-walk without restrictions"

This reverts commit d08d3d6e23.
This commit is contained in:
Nico
2013-07-14 23:14:09 -03:00
parent fc458d191d
commit 01f72f4f44

View File

@@ -907,7 +907,7 @@ namespace OpenRA.Mods.RA.AI
CPos defenseCenter; CPos defenseCenter;
public CPos? ChooseBuildLocation(string actorType, BuildingType type) public CPos? ChooseBuildLocation(string actorType, BuildingType type)
{ {
return ChooseBuildLocation(actorType, false, MaxBaseDistance, type); return ChooseBuildLocation(actorType, true, MaxBaseDistance, type);
} }
public CPos? ChooseBuildLocation(string actorType, bool distanceToBaseIsImportant, int maxBaseDistance, BuildingType type) public CPos? ChooseBuildLocation(string actorType, bool distanceToBaseIsImportant, int maxBaseDistance, BuildingType type)
@@ -956,7 +956,7 @@ namespace OpenRA.Mods.RA.AI
break; break;
} }
return null; // Don't know where to put it. return null; // i don't know where to put it.
} }
public void Tick(Actor self) public void Tick(Actor self)