1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

AI pathfinding calculated in parallel

This commit is contained in:
Andrii Danylchenko
2019-02-09 15:09:21 +02:00
parent 35f696b695
commit 675406589c
11 changed files with 51 additions and 17 deletions

View File

@@ -122,7 +122,7 @@ namespace AIPathfinding
}
auto hero = nodeStorage->getHero();
auto danger = evaluateDanger(destination.coord, hero);
auto danger = evaluateDanger(destination.coord, hero, cb);
destination.node = battleNode;
nodeStorage->commit(destination, source);