1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00

Update Nullkiller.cpp

Removed unused variable.
This commit is contained in:
Xilmi 2024-09-05 15:59:09 +02:00
parent dd5a34d994
commit b32c9615ed

View File

@ -410,10 +410,8 @@ void Nullkiller::makeTurn()
decompose(bestTasks, sptr(ExplorationBehavior()), MAX_DEPTH);
TTaskVec selectedTasks;
int prioOfTask = 0;
for (int prio = PriorityEvaluator::PriorityTier::INSTAKILL; prio <= PriorityEvaluator::PriorityTier::DEFEND; ++prio)
{
prioOfTask = prio;
selectedTasks = buildPlan(bestTasks, prio);
if (!selectedTasks.empty() || settings->isUseFuzzy())
break;