mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
NKAI: log paths scan depth
This commit is contained in:
parent
5083100d3b
commit
202e13ce2e
@ -61,6 +61,11 @@ void AIPathfinder::updatePaths(std::map<const CGHeroInstance *, HeroRole> heroes
|
|||||||
storage->setScoutTurnDistanceLimit(pathfinderSettings.scoutTurnDistanceLimit);
|
storage->setScoutTurnDistanceLimit(pathfinderSettings.scoutTurnDistanceLimit);
|
||||||
storage->setMainTurnDistanceLimit(pathfinderSettings.mainTurnDistanceLimit);
|
storage->setMainTurnDistanceLimit(pathfinderSettings.mainTurnDistanceLimit);
|
||||||
|
|
||||||
|
logAi->trace(
|
||||||
|
"Scout turn distance: %s, main %s",
|
||||||
|
std::to_string(pathfinderSettings.scoutTurnDistanceLimit),
|
||||||
|
std::to_string(pathfinderSettings.mainTurnDistanceLimit));
|
||||||
|
|
||||||
if(pathfinderSettings.useHeroChain)
|
if(pathfinderSettings.useHeroChain)
|
||||||
{
|
{
|
||||||
storage->setTownsAndDwellings(cb->getTownsInfo(), ai->memory->visitableObjs);
|
storage->setTownsAndDwellings(cb->getTownsInfo(), ai->memory->visitableObjs);
|
||||||
|
Loading…
Reference in New Issue
Block a user