Browse Source

Update Nullkiller.cpp

Build and hire-tasks no longer eat into the pass-depth.
Xilmi 1 year ago
parent
commit
a2904584d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AI/Nullkiller/Engine/Nullkiller.cpp

+ 1 - 1
AI/Nullkiller/Engine/Nullkiller.cpp

@@ -374,7 +374,7 @@ void Nullkiller::makeTurn()
 
 		Goals::TTask bestTask = taskptr(Goals::Invalid());
 
-		for(;i <= settings->getMaxPass(); i++)
+		while(true)
 		{
 			bestTasks.clear();