From 2a337ab009d65717fe16862251631050e8a3a8e4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 9 May 2006 08:25:31 +0000 Subject: (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency --- road_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'road_gui.c') 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); } } -- cgit v1.2.3-54-g00ecf