diff options
author | rubidium <rubidium@openttd.org> | 2006-05-09 08:25:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-05-09 08:25:31 +0000 |
commit | 2a337ab009d65717fe16862251631050e8a3a8e4 (patch) | |
tree | 765d216fd61a2487ac5b4e9ca1bf318934ceac3c /road_gui.c | |
parent | 3dae1a9bbaa78b4cd8c9aacea2b6a4165b7975a1 (diff) | |
download | openttd-2a337ab009d65717fe16862251631050e8a3a8e4.tar.xz |
(svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
Diffstat (limited to 'road_gui.c')
-rw-r--r-- | road_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_gui.c b/road_gui.c index 2f5d2514b..60c11f9e7 100644 --- a/road_gui.c +++ b/road_gui.c @@ -72,7 +72,7 @@ static void BuildRoadOutsideStation(TileIndex tile, DiagDirection direction) { tile += TileOffsByDir(direction); // if there is a roadpiece just outside of the station entrance, build a connecting route - if (IsTileType(tile, MP_STREET) && GetRoadType(tile) == ROAD_NORMAL) { + if (IsTileType(tile, MP_STREET) && GetRoadTileType(tile) == ROAD_TILE_NORMAL) { DoCommandP(tile, DiagDirToRoadBits(ReverseDiagDir(direction)), 0, NULL, CMD_BUILD_ROAD); } } |