(svn r6473) -Fix: FS#347 town extends road beyond road stop. Fixed by r5062, unfixed by r5798. Now there is proper comment, so it should not happen again.
This commit is contained in:
		@@ -54,8 +54,8 @@ TrackBits GetAnyRoadTrackBits(TileIndex tile)
 | 
			
		||||
{
 | 
			
		||||
	uint32 r;
 | 
			
		||||
 | 
			
		||||
	// Don't allow building through road depot tiles.
 | 
			
		||||
	if (IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) {
 | 
			
		||||
	// Don't allow local authorities to build roads through road depots or road stops.
 | 
			
		||||
	if ((IsTileType(tile, MP_STREET) && IsTileDepotType(tile, TRANSPORT_ROAD)) || IsTileType(tile, MP_STATION)) {
 | 
			
		||||
		return 0;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user