diff options
author | celestar <celestar@openttd.org> | 2006-03-31 19:10:54 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-03-31 19:10:54 +0000 |
commit | 2ab5b8e666d14df7437bfa01a78f7ade3af69fa5 (patch) | |
tree | b1afcd4a3ffa7895ccd33c4d034fb543b8d4765f /road_map.c | |
parent | bb8bdcb5d91bf76c164813fc8d2d27f86bd3da76 (diff) | |
download | openttd-2ab5b8e666d14df7437bfa01a78f7ade3af69fa5.tar.xz |
(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency
Diffstat (limited to 'road_map.c')
-rw-r--r-- | road_map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/road_map.c b/road_map.c index aa1c50470..7e75d683f 100644 --- a/road_map.c +++ b/road_map.c @@ -7,6 +7,7 @@ #include "road_map.h" #include "station.h" #include "tunnel_map.h" +#include "station_map.h" RoadBits GetAnyRoadBits(TileIndex tile) @@ -21,8 +22,8 @@ RoadBits GetAnyRoadBits(TileIndex tile) } case MP_STATION: - if (!IsRoadStationTile(tile)) return 0; - return DiagDirToRoadBits(GetRoadStationDir(tile)); + if (!IsRoadStopTile(tile)) return 0; + return DiagDirToRoadBits(GetRoadStopDir(tile)); case MP_TUNNELBRIDGE: if (IsBridge(tile)) { |