mirror of https://github.com/OpenTTD/OpenTTD
(svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day
parent
57dbe50597
commit
ab0a6f2e73
|
@ -297,9 +297,9 @@ static inline bool IsRoadStationTile(uint tile) {
|
||||||
/**
|
/**
|
||||||
* Check if a station really exists.
|
* Check if a station really exists.
|
||||||
*/
|
*/
|
||||||
static inline bool IsValidStation(const Station* station)
|
static inline bool IsValidStation(const Station *st)
|
||||||
{
|
{
|
||||||
return station->xy != 0; /* XXX: Replace by INVALID_TILE someday */
|
return st->xy != 0; /* XXX: Replace by INVALID_TILE someday */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get's the direction the station exit points towards. Ie, returns 0 for a
|
/* Get's the direction the station exit points towards. Ie, returns 0 for a
|
||||||
|
|
Loading…
Reference in New Issue