diff --git a/AI/Nullkiller2/Pathfinding/AINodeStorage.h b/AI/Nullkiller2/Pathfinding/AINodeStorage.h index 88528155c..2d2808c75 100644 --- a/AI/Nullkiller2/Pathfinding/AINodeStorage.h +++ b/AI/Nullkiller2/Pathfinding/AINodeStorage.h @@ -290,11 +290,6 @@ public: (*this->accessibility)[tile.z][tile.x][tile.y][layer.getNum()] = tileAccessibility; } - inline int getBucket(const ChainActor * actor) const - { - return ((uintptr_t)actor * 395) % getBucketCount(); - } - void calculateTownPortalTeleportations(std::vector & neighbours); void fillChainInfo(const AIPathNode * node, AIPath & path, int parentIndex) const;