Fix #11918: Houses should build only next to road stops, not any station type. (#11919)

pull/661/head
Peter Nelson 5 months ago committed by GitHub
parent 90084dc74d
commit bf013097a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1358,7 +1358,7 @@ static inline bool RoadTypesAllowHouseHere(TileIndex t)
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);

Loading…
Cancel
Save