(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency

This commit is contained in:
celestar
2006-03-31 19:10:54 +00:00
parent bb8bdcb5d9
commit 2ab5b8e666
7 changed files with 31 additions and 28 deletions

View File

@@ -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)) {