1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00
This commit is contained in:
Tomasz Zieliński
2025-03-13 19:59:11 +01:00
parent 58041ee123
commit 56b3867bb3
2 changed files with 4 additions and 13 deletions

View File

@@ -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))