Remove unused town argument from GetTownRoadType

This commit is contained in:
Jonathan G Rennison
2023-03-05 21:28:24 +00:00
parent 9d5f6c4fec
commit 983790ec7a
4 changed files with 12 additions and 11 deletions

View File

@@ -2619,7 +2619,7 @@ static void TileLoop_Road(TileIndex tile)
/* Possibly change road type */
if (GetRoadOwner(tile, RTT_ROAD) == OWNER_TOWN) {
RoadType rt = GetTownRoadType(t);
RoadType rt = GetTownRoadType();
if (rt != GetRoadTypeRoad(tile)) {
SetRoadType(tile, RTT_ROAD, rt);
}