summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-02-13 21:51:47 +0000
committercelestar <celestar@openttd.org>2005-02-13 21:51:47 +0000
commitd449145799787df3ba92f731f98e28aeb9d6a156 (patch)
tree53c21845a1c30ab6a6236de0e4c3e3676b08ad08 /station_cmd.c
parent9e847075fae3d3a29fec191d48b7b837f99bf428 (diff)
downloadopenttd-d449145799787df3ba92f731f98e28aeb9d6a156.tar.xz
(svn r1872) -Fix: Fixed an inline problem which caused MSVC6 to not compile :/
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/station_cmd.c b/station_cmd.c
index d60f4acaf..addb90a3e 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -90,11 +90,6 @@ static void InitializeRoadStop(RoadStop *road_stop, RoadStop *previous, TileInde
road_stop->station = index;
}
-inline int GetRoadStopType(TileIndex tile)
-{
- return (_map5[tile] < 0x47) ? RS_TRUCK : RS_BUS;
-}
-
RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type)
{
switch (type) {