summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-02 16:02:24 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-02 16:02:24 +0000
commitbc7f5e5099d64d5f504de7355e2a0fbb3f3ccdc2 (patch)
tree65f3b96703a2ee49e15b7937e7f99290ba252dfb /station.h
parent6e56a30c072e8760f467155a8da47c8aa21fc7f6 (diff)
downloadopenttd-bc7f5e5099d64d5f504de7355e2a0fbb3f3ccdc2.tar.xz
(svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day
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