From cec55e670441e7a9c53292e490c532aea37864aa Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 22 Aug 2020 18:55:18 +0100 Subject: [PATCH] Fix infrastructure totals when using road convert tool on bay road stop --- src/road_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 77aac28305..19f01819c1 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -2619,7 +2619,7 @@ CommandCost CmdConvertRoad(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 } uint num_pieces; - if (IsRoadDepotTile(tile)) { + if (IsRoadDepotTile(tile) || IsRoadStop(tile)) { num_pieces = HasTileRoadType(tile, rtt) ? 2 : 0; } else { num_pieces = CountBits(GetAnyRoadBits(tile, rtt));