Increase bridge/tunnel per-tile cost

pull/272/head
Jonathan G Rennison 3 years ago
parent 3a67065332
commit f53ed56200

@ -880,6 +880,7 @@ static int32 PublicRoad_CalculateG(AyStar *, AyStarNode *current, OpenListNode *
if (distance > 1) {
// We are planning to build a bridge or tunnel. Make that a bit more expensive.
cost += 6 * COST_FOR_SLOPE;
cost += distance * (COST_FOR_NEW_ROAD / 2);
}
}

Loading…
Cancel
Save