Home
last modified time | relevance | path

Searched refs:closest_station (Results 1 – 1 of 1) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dstation_cmd.cpp103 CommandCost GetStationAround(TileArea ta, StationID closest_station, CompanyID company, T **st) in GetStationAround() argument
112 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()