From 01f72f4f44c6dfafbf225b34b06a28ce66c57688 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 14 Jul 2013 23:14:09 -0300 Subject: [PATCH] Revert "allow the AI to base-walk without restrictions" This reverts commit d08d3d6e238324c953c2d501514eb882e0e3e169. --- OpenRA.Mods.RA/AI/HackyAI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/AI/HackyAI.cs b/OpenRA.Mods.RA/AI/HackyAI.cs index d6407cdf84..03fd29c437 100644 --- a/OpenRA.Mods.RA/AI/HackyAI.cs +++ b/OpenRA.Mods.RA/AI/HackyAI.cs @@ -907,7 +907,7 @@ namespace OpenRA.Mods.RA.AI CPos defenseCenter; 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) @@ -956,7 +956,7 @@ namespace OpenRA.Mods.RA.AI 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)