mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Merge remote-tracking branch 'vcmi/master' into develop
This commit is contained in:
@@ -162,10 +162,9 @@ void AINodeStorage::calculateNeighbours(
|
||||
const PathfinderConfig * pathfinderConfig,
|
||||
const CPathfinderHelper * pathfinderHelper)
|
||||
{
|
||||
std::vector<int3> accessibleNeighbourTiles;
|
||||
NeighbourTilesVector accessibleNeighbourTiles;
|
||||
|
||||
result.clear();
|
||||
accessibleNeighbourTiles.reserve(8);
|
||||
|
||||
pathfinderHelper->calculateNeighbourTiles(accessibleNeighbourTiles, source);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user