summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
Diffstat (limited to 'station.h')
-rw-r--r--station.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/station.h b/station.h
index d771ac2f4..6252c4328 100644
--- a/station.h
+++ b/station.h
@@ -297,9 +297,9 @@ static inline bool IsRoadStationTile(uint tile) {
/**
* 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