mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Minor formatting fixes within pathfinder-related code
This commit is contained in:
@ -3307,9 +3307,6 @@ void CPathfinder::getNeighbours(const int3 &coord)
|
||||
{
|
||||
neighbours.clear();
|
||||
ct = &gs->map->getTile(coord);
|
||||
// Will be needed for usage outside of calculatePaths
|
||||
// if(!cp)
|
||||
// cp = getNode(coord);
|
||||
|
||||
std::vector<int3> tiles;
|
||||
gs->getNeighbours(*ct, coord, tiles, boost::logic::indeterminate, !cp->land);
|
||||
|
Reference in New Issue
Block a user