mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Cleanup
This commit is contained in:
@@ -93,8 +93,6 @@ bool RoadPlacer::createRoad(const int3 & destination)
|
||||
}
|
||||
}
|
||||
|
||||
//float ret = dst.dist2d(src);
|
||||
//float ret = rmg::Path::nonEuclideanCostFunction(src, dst);
|
||||
float ret = rmg::Path::curvedCost(src, dst, border.getCenterOfMass());
|
||||
|
||||
if (visitableTiles.contains(src) || visitableTiles.contains(dst))
|
||||
|
||||
Reference in New Issue
Block a user