Revert "allow the AI to base-walk without restrictions"
This reverts commit d08d3d6e23.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user