From f007ad282c60cc1b2529b44c3e0b4c1bdab3d685 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 5 Mar 2006 12:22:20 +0000 Subject: (svn r3766) Add a function to get the RoadBits from an arbitrary tile --- station.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station.h') 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; -- cgit v1.2.3-54-g00ecf