From 3ae99e17bbf4ceb9b10019473f48c9b73221af55 Mon Sep 17 00:00:00 2001 From: celestar Date: Wed, 29 Mar 2006 19:37:18 +0000 Subject: (svn r4155) -Changed GetRoadStopByTile to use GetStationType and moved it. TODO: unify RS_TRUCK and STATION_TRUCK (same for bus) --- station.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'station.h') diff --git a/station.h b/station.h index f62990509..c1538bf9d 100644 --- a/station.h +++ b/station.h @@ -194,11 +194,6 @@ uint GetStationPlatforms(const Station *st, TileIndex tile); void StationPickerDrawSprite(int x, int y, RailType railtype, int image); RoadStop * GetRoadStopByTile(TileIndex tile, RoadStopType type); -static inline RoadStopType GetRoadStopType(TileIndex tile) -{ - return (_m[tile].m5 < 0x47) ? RS_TRUCK : RS_BUS; -} - RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type); uint GetNumRoadStops(const Station* st, RoadStopType type); RoadStop * AllocateRoadStop( void ); -- cgit v1.2.3-54-g00ecf