branch | 0.4.5 |
changeset 9926 | af44c0a799ac |
parent 2817 | 58dcead3f545 |
--- a/station.h Sat Mar 18 15:25:25 2006 +0000 +++ b/station.h Sat Mar 18 15:28:26 2006 +0000 @@ -202,7 +202,7 @@ uint32 GetCustomStationRelocation(const StationSpec *spec, const Station *st, byte ctype); RoadStop * GetRoadStopByTile(TileIndex tile, RoadStopType type); -static inline int GetRoadStopType(TileIndex tile) +static inline RoadStopType GetRoadStopType(TileIndex tile) { return (_m[tile].m5 < 0x47) ? RS_TRUCK : RS_BUS; }