summaryrefslogtreecommitdiff
path: root/road_map.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-05-09 08:25:31 +0000
committerrubidium <rubidium@openttd.org>2006-05-09 08:25:31 +0000
commite5bd292dabdf5bbf58e5ce83c13688bbe047a62a (patch)
tree765d216fd61a2487ac5b4e9ca1bf318934ceac3c /road_map.c
parent9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45 (diff)
downloadopenttd-e5bd292dabdf5bbf58e5ce83c13688bbe047a62a.tar.xz
(svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
Diffstat (limited to 'road_map.c')
-rw-r--r--road_map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/road_map.c b/road_map.c
index 7e75d683f..2ae989280 100644
--- a/road_map.c
+++ b/road_map.c
@@ -14,11 +14,11 @@ RoadBits GetAnyRoadBits(TileIndex tile)
{
switch (GetTileType(tile)) {
case MP_STREET:
- switch (GetRoadType(tile)) {
+ switch (GetRoadTileType(tile)) {
default:
- case ROAD_NORMAL: return GetRoadBits(tile);
- case ROAD_CROSSING: return GetCrossingRoadBits(tile);
- case ROAD_DEPOT: return DiagDirToRoadBits(GetRoadDepotDirection(tile));
+ case ROAD_TILE_NORMAL: return GetRoadBits(tile);
+ case ROAD_TILE_CROSSING: return GetCrossingRoadBits(tile);
+ case ROAD_TILE_DEPOT: return DiagDirToRoadBits(GetRoadDepotDirection(tile));
}
case MP_STATION: