summaryrefslogtreecommitdiff
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
commitab0a6f2e735dc6b6f047fad0e7a009a14c245bd3 (patch)
tree65f3b96703a2ee49e15b7937e7f99290ba252dfb
parent57dbe50597bb9c3b202bc07841f0c39820277045 (diff)
downloadopenttd-ab0a6f2e735dc6b6f047fad0e7a009a14c245bd3.tar.xz
(svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day
-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