mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
Nullkiller: parallel object clusterization, stabilization
This commit is contained in:
committed by
Andrii Danylchenko
parent
66843b22d3
commit
9a203b8af9
@@ -71,7 +71,7 @@ Goals::TGoalVec CaptureObjectsBehavior::getVisitGoals(const std::vector<AIPath>
|
||||
continue;
|
||||
}
|
||||
|
||||
if(objToVisit && !shouldVisit(path.targetHero, objToVisit))
|
||||
if(objToVisit && !shouldVisit(ai->nullkiller.get(), path.targetHero, objToVisit))
|
||||
continue;
|
||||
|
||||
auto hero = path.targetHero;
|
||||
|
||||
Reference in New Issue
Block a user