mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 08:29:00 +02:00
- bugfix for AI not using correct build spacing
This commit is contained in:
@@ -284,8 +284,8 @@ void Ai::init(AiInterface *aiInterface, int useStartLocation) {
|
|||||||
minWorkerAttackersHarvesting = faction->getAIBehaviorStaticOverideValue(aibsvcMinWorkerAttackersHarvesting);
|
minWorkerAttackersHarvesting = faction->getAIBehaviorStaticOverideValue(aibsvcMinWorkerAttackersHarvesting);
|
||||||
//printf("Discovered overriden static value for AI, scoutResourceRange = %d\n",scoutResourceRange);
|
//printf("Discovered overriden static value for AI, scoutResourceRange = %d\n",scoutResourceRange);
|
||||||
}
|
}
|
||||||
if(faction->getAIBehaviorStaticOverideValue(aibsvcMinWorkerAttackersHarvesting) != INT_MAX) {
|
if(faction->getAIBehaviorStaticOverideValue(aibsvcMinBuildSpacing) != INT_MAX) {
|
||||||
minBuildSpacing = faction->getAIBehaviorStaticOverideValue(aibsvcMinWorkerAttackersHarvesting);
|
minBuildSpacing = faction->getAIBehaviorStaticOverideValue(aibsvcMinBuildSpacing);
|
||||||
//printf("Discovered overriden static value for AI, scoutResourceRange = %d\n",scoutResourceRange);
|
//printf("Discovered overriden static value for AI, scoutResourceRange = %d\n",scoutResourceRange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user