Initial implementation of road waypoints
This commit is contained in:
@@ -549,7 +549,8 @@ CommandCost CmdBuildBridge(TileIndex end_tile, DoCommandFlag flags, uint32 p1, u
|
||||
}
|
||||
|
||||
case STATION_BUS:
|
||||
case STATION_TRUCK: {
|
||||
case STATION_TRUCK:
|
||||
case STATION_ROADWAYPOINT: {
|
||||
CommandCost ret = IsRoadStopBridgeAboveOK(tile, IsDriveThroughStopTile(tile), GetRoadStopDir(tile),
|
||||
tile_start, tile_end, z_start + 1, bridge_type, transport_type);
|
||||
if (ret.Failed()) {
|
||||
@@ -672,7 +673,8 @@ CommandCost CmdBuildBridge(TileIndex end_tile, DoCommandFlag flags, uint32 p1, u
|
||||
}
|
||||
|
||||
case STATION_BUS:
|
||||
case STATION_TRUCK: {
|
||||
case STATION_TRUCK:
|
||||
case STATION_ROADWAYPOINT: {
|
||||
CommandCost ret = IsRoadStopBridgeAboveOK(tile, IsDriveThroughStopTile(tile), GetRoadStopDir(tile),
|
||||
tile_start, tile_end, z_start + 1, bridge_type, transport_type);
|
||||
if (ret.Failed()) {
|
||||
|
Reference in New Issue
Block a user