Searched refs:closest_station (Results 1 – 1 of 1) sorted by relevance
103 CommandCost GetStationAround(TileArea ta, StationID closest_station, CompanyID company, T **st) in GetStationAround() argument112 if (closest_station == INVALID_STATION) { in GetStationAround()113 closest_station = t; in GetStationAround()114 } else if (closest_station != t) { in GetStationAround()119 *st = (closest_station == INVALID_STATION) ? nullptr : T::Get(closest_station); in GetStationAround()