ソースを参照

Nullkiller: blind fix for unit tests to compile

Andrii Danylchenko 4 年 前
コミット
07b6b0605c
1 ファイル変更0 行追加7 行削除
  1. 0 7
      AI/Nullkiller/Engine/Nullkiller.cpp

+ 0 - 7
AI/Nullkiller/Engine/Nullkiller.cpp

@@ -233,13 +233,6 @@ void Nullkiller::makeTurn()
 
 		Goals::TTask bestTask = choseBestTask(bestTasks);
 
-		/*if(bestTask->invalid())
-		{
-			logAi->trace("No goals found. Ending turn.");
-
-			return;
-		}*/
-
 		if(bestTask->priority < MIN_PRIORITY)
 		{
 			logAi->trace("Goal %s has too low priority. It is not worth doing it. Ending turn.", bestTask->toString());