summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-05 12:22:20 +0000
committertron <tron@openttd.org>2006-03-05 12:22:20 +0000
commitf007ad282c60cc1b2529b44c3e0b4c1bdab3d685 (patch)
treec60df54ca959b2f8cbb49252a82727e5496e5f5f /station.h
parentebec656110fc5f868421f76a6acbc800c5dc77c6 (diff)
downloadopenttd-f007ad282c60cc1b2529b44c3e0b4c1bdab3d685.tar.xz
(svn r3766) Add a function to get the RoadBits from an arbitrary tile
Diffstat (limited to 'station.h')
-rw-r--r--station.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/station.h b/station.h
index 9e3321a54..9fe26fe70 100644
--- a/station.h
+++ b/station.h
@@ -244,7 +244,7 @@ static inline bool IsBuoyTile(TileIndex tile)
/* Get's the direction the station exit points towards. Ie, returns 0 for a
* station with the exit NE. */
-static inline byte GetRoadStationDir(TileIndex tile)
+static inline DiagDirection GetRoadStationDir(TileIndex tile)
{
assert(IsRoadStationTile(tile));
return (_m[tile].m5 - 0x43) & 3;