forked from mirror/OpenTTD
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
This commit is contained in:
@@ -589,7 +589,7 @@ static inline bool CheckAllowRemoveTunnelBridge(TileIndex tile)
|
||||
if (road_owner == OWNER_NONE || road_owner == OWNER_TOWN) road_owner = _current_company;
|
||||
if (tram_owner == OWNER_NONE) tram_owner = _current_company;
|
||||
|
||||
return CheckOwnership(road_owner) && CheckOwnership(tram_owner);
|
||||
return CheckOwnership(road_owner, tile) && CheckOwnership(tram_owner, tile);
|
||||
}
|
||||
|
||||
case TRANSPORT_RAIL:
|
||||
|
Reference in New Issue
Block a user