1
0
Fork 0

Fix #7626: Allow building drive-through stops over one-way/blocked roads owned by towns (instead of crashing).

pull/7743/head
Daniel Lee 2019-06-26 03:17:17 +01:00 committed by Charles Pigott
parent 83f1839e71
commit da086a3fde
1 changed files with 1 additions and 1 deletions

View File

@ -996,7 +996,7 @@ static CommandCost CheckFlatLandRoadStop(TileArea tile_area, DoCommandFlag flags
}
num_roadbits += CountBits(GetRoadBits(cur_tile, ROADTYPE_ROAD));
if (GetDisallowedRoadDirections(cur_tile) != DRD_NONE) {
if (GetDisallowedRoadDirections(cur_tile) != DRD_NONE && road_owner != OWNER_TOWN) {
CommandCost ret = CheckOwnership(road_owner);
if (ret.Failed()) return ret;
}