Fix infrastructure totals when using road convert tool on bay road stop
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user