1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

AI pathfinding: rename and add const to functions

This commit is contained in:
Andrii Danylchenko
2018-10-07 14:51:27 +03:00
parent cf213a5acf
commit f327c46fa3
16 changed files with 198 additions and 220 deletions

View File

@@ -919,7 +919,7 @@ void CGameInfoCallback::getVisibleTilesInRange(std::unordered_set<int3, ShashInt
gs->getTilesInRange(tiles, pos, radious, getLocalPlayer(), -1, distanceFormula);
}
void CGameInfoCallback::calculatePaths(std::shared_ptr<CPathfinderConfig> config, const CGHeroInstance * hero)
void CGameInfoCallback::calculatePaths(std::shared_ptr<PathfinderConfig> config, const CGHeroInstance * hero)
{
gs->calculatePaths(config, hero);
}