mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Nullkiller: blind fix for unit tests to compile
This commit is contained in:
committed by
Andrii Danylchenko
parent
4f51d3c929
commit
07b6b0605c
@@ -233,13 +233,6 @@ void Nullkiller::makeTurn()
|
|||||||
|
|
||||||
Goals::TTask bestTask = choseBestTask(bestTasks);
|
Goals::TTask bestTask = choseBestTask(bestTasks);
|
||||||
|
|
||||||
/*if(bestTask->invalid())
|
|
||||||
{
|
|
||||||
logAi->trace("No goals found. Ending turn.");
|
|
||||||
|
|
||||||
return;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
if(bestTask->priority < MIN_PRIORITY)
|
if(bestTask->priority < MIN_PRIORITY)
|
||||||
{
|
{
|
||||||
logAi->trace("Goal %s has too low priority. It is not worth doing it. Ending turn.", bestTask->toString());
|
logAi->trace("Goal %s has too low priority. It is not worth doing it. Ending turn.", bestTask->toString());
|
||||||
|
Reference in New Issue
Block a user