Fix infrastructure totals when using road convert tool on bay road stop

pull/185/head
Jonathan G Rennison 4 years ago
parent 1e0005d7a0
commit cec55e6704

@ -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));

Loading…
Cancel
Save