1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

AIPathfinder remove unused init method

This commit is contained in:
Mircea TheHonestCTO
2025-09-05 05:08:24 +02:00
parent 9cdf74fb42
commit 844d6c0b78
2 changed files with 0 additions and 6 deletions

View File

@@ -25,11 +25,6 @@ AIPathfinder::AIPathfinder(CPlayerSpecificInfoCallback * cb, Nullkiller * aiNk)
{
}
void AIPathfinder::init()
{
storage.reset();
}
bool AIPathfinder::isTileAccessible(const HeroPtr & hero, const int3 & tile) const
{
return storage->isTileAccessible(hero, tile, EPathfindingLayer::LAND)

View File

@@ -52,7 +52,6 @@ public:
void updatePaths(const std::map<const CGHeroInstance *, HeroRole> & heroes, PathfinderSettings pathfinderSettings);
void updateGraphs(const std::map<const CGHeroInstance *, HeroRole> & heroes, uint8_t mainScanDepth, uint8_t scoutScanDepth);
void calculateQuickPathsWithBlocker(std::vector<AIPath> & result, const std::vector<const CGHeroInstance *> & heroes, const int3 & tile);
void init();
std::shared_ptr<AINodeStorage>getStorage()
{