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:
parent
dd5a34d994
commit
b32c9615ed
@ -410,10 +410,8 @@ void Nullkiller::makeTurn()
|
|||||||
decompose(bestTasks, sptr(ExplorationBehavior()), MAX_DEPTH);
|
decompose(bestTasks, sptr(ExplorationBehavior()), MAX_DEPTH);
|
||||||
|
|
||||||
TTaskVec selectedTasks;
|
TTaskVec selectedTasks;
|
||||||
int prioOfTask = 0;
|
|
||||||
for (int prio = PriorityEvaluator::PriorityTier::INSTAKILL; prio <= PriorityEvaluator::PriorityTier::DEFEND; ++prio)
|
for (int prio = PriorityEvaluator::PriorityTier::INSTAKILL; prio <= PriorityEvaluator::PriorityTier::DEFEND; ++prio)
|
||||||
{
|
{
|
||||||
prioOfTask = prio;
|
|
||||||
selectedTasks = buildPlan(bestTasks, prio);
|
selectedTasks = buildPlan(bestTasks, prio);
|
||||||
if (!selectedTasks.empty() || settings->isUseFuzzy())
|
if (!selectedTasks.empty() || settings->isUseFuzzy())
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user