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:
parent
4f51d3c929
commit
07b6b0605c
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user