Adjust comment for BASE_COST_PER_TILE

This commit is contained in:
Jonathan G Rennison
2021-06-16 22:25:01 +01:00
parent d182b0b138
commit a6f7478873

View File

@@ -816,7 +816,7 @@ static void PublicRoad_FoundEndNode(AyStar *aystar, OpenListNode *current)
} }
} }
static const int32 BASE_COST_PER_TILE = 1; // Cost for building a new road. static const int32 BASE_COST_PER_TILE = 1; // Cost for existing road or tunnel/bridge.
static const int32 COST_FOR_NEW_ROAD = 100; // Cost for building a new road. static const int32 COST_FOR_NEW_ROAD = 100; // Cost for building a new road.
static const int32 COST_FOR_SLOPE = 50; // Additional cost if the road heads up or down a slope. static const int32 COST_FOR_SLOPE = 50; // Additional cost if the road heads up or down a slope.