mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Nullkiller: update / fix build, core changes required for Nullkiller AI
This commit is contained in:
committed by
Andrii Danylchenko
parent
b4241670ba
commit
3fa7e0976f
@@ -2056,9 +2056,9 @@ void CGameState::calculatePaths(const CGHeroInstance *hero, CPathsInfo &out)
|
||||
pathfinder.calculatePaths();
|
||||
}
|
||||
|
||||
void CGameState::calculatePaths(std::shared_ptr<PathfinderConfig> config, const CGHeroInstance * hero)
|
||||
void CGameState::calculatePaths(std::shared_ptr<PathfinderConfig> config)
|
||||
{
|
||||
CPathfinder pathfinder(this, hero, config);
|
||||
CPathfinder pathfinder(this, config);
|
||||
pathfinder.calculatePaths();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user