Changeset - r28604:6db12e645968
[Not reviewed]
master
0 1 0
Peter Nelson - 10 months ago 2024-01-29 01:27:34
peter1138@openttd.org
Fix #11918: Houses should build only next to road stops, not any station type. (#11919)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -1358,7 +1358,7 @@ static inline bool RoadTypesAllowHouseHe
 
		TileIndex cur_tile = t + ToTileIndexDiff(*ptr);
 
		if (!IsValidTile(cur_tile)) continue;
 

	
 
		if (!(IsTileType(cur_tile, MP_ROAD) || IsTileType(cur_tile, MP_STATION))) continue;
 
		if (!(IsTileType(cur_tile, MP_ROAD) || IsRoadStopTile(cur_tile))) continue;
 
		allow = true;
 

	
 
		RoadType road_rt = GetRoadTypeRoad(cur_tile);
0 comments (0 inline, 0 general)