From d08d3d6e238324c953c2d501514eb882e0e3e169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 21 Apr 2013 16:36:25 +0200 Subject: [PATCH] allow the AI to base-walk without restrictions fixes #2899 --- 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 75b85cad2f..0e7219789e 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, true, MaxBaseDistance, type); + return ChooseBuildLocation(actorType, false, 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; // i don't know where to put it. + return null; // Don't know where to put it. } public void Tick(Actor self)