mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
NKAI: port exploration from VCAI
This commit is contained in:
@@ -381,7 +381,7 @@ void ObjectClusterizer::clusterizeObject(
|
||||
logAi->trace("Check object %s%s.", obj->getObjectName(), obj->visitablePos().toString());
|
||||
#endif
|
||||
|
||||
if(ai->settings->isObjectGraphAllowed())
|
||||
if(ai->isObjectGraphAllowed())
|
||||
{
|
||||
ai->pathfinder->calculateQuickPathsWithBlocker(pathCache, heroes, obj->visitablePos());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user