1072
1081
if (st->facilities == 0 && st->owner == _local_company) {
1073
1082
/* Include only within station spread (yes, it is strictly less than) */
1074
1083
if (max(DistanceMax(tile, st->xy), DistanceMax(TILE_ADDXY(tile, w - 1, h - 1), st->xy)) < _settings_game.station.station_spread) {
1077
1088
/* Add the station when it's within where we're going to build */
1078
1089
if (IsInsideBS(TileX(st->xy), TileX(ctx.tile), ctx.w) &&