1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-05 15:05:40 +02:00

Nullkiller: blind fix for unit tests to compile

This commit is contained in:
Andrii Danylchenko 2021-05-16 14:56:04 +03:00 committed by Andrii Danylchenko
parent 4f51d3c929
commit 07b6b0605c

View File

@ -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());