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 | 446493149c637ea2517be5c17f86047911130489 (patch) | |
tree | b1afcd4a3ffa7895ccd33c4d034fb543b8d4765f /road_map.c | |
parent | 1f88ea4ec64f7dc8153dff3a8ca0ce20e7789a68 (diff) | |
download | openttd-446493149c637ea2517be5c17f86047911130489.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)) { |