1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00

NKAI: initial implementation of object graph

This commit is contained in:
Andrii Danylchenko
2024-01-20 22:54:30 +02:00
parent a373ec6743
commit 376a17409f
17 changed files with 476 additions and 50 deletions
@@ -244,7 +244,7 @@ void ObjectClusterizer::clusterize()
logAi->trace("Check object %s%s.", obj->getObjectName(), obj->visitablePos().toString());
#endif
auto paths = ai->pathfinder->getPathInfo(obj->visitablePos());
auto paths = ai->pathfinder->getPathInfo(obj->visitablePos(), true);
if(paths.empty())
{