1
0
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:
Andrii Danylchenko
2024-05-19 10:04:45 +03:00
parent 721b15d9de
commit 1388fb1493
27 changed files with 1503 additions and 880 deletions
@@ -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());
}