1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 01:29:10 +00:00

Fix: Terraform of road waypoint tiles (#13040)

This commit is contained in:
Jonathan G Rennison
2024-10-29 13:08:15 +00:00
committed by GitHub
parent 0200bc3720
commit 07e8547eb5

View File

@@ -4762,7 +4762,8 @@ static CommandCost TerraformTile_Station(TileIndex tile, DoCommandFlag flags, in
return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_BUILD_FOUNDATION]);
case STATION_TRUCK:
case STATION_BUS: {
case STATION_BUS:
case STATION_ROADWAYPOINT: {
if (IsDriveThroughStopTile(tile)) {
if (!AutoslopeCheckForAxis(tile, z_new, tileh_new, GetDriveThroughStopAxis(tile))) break;
} else {