From e5bd292dabdf5bbf58e5ce83c13688bbe047a62a 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 --- tunnelbridge_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunnelbridge_cmd.c') diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index d1815a7eb..3076cc236 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -344,7 +344,7 @@ int32 CmdBuildBridge(TileIndex end_tile, uint32 flags, uint32 p1, uint32 p2) break; case MP_STREET: - if (GetRoadType(tile) != ROAD_NORMAL || + if (GetRoadTileType(tile) != ROAD_TILE_NORMAL || GetRoadBits(tile) != (direction == AXIS_X ? ROAD_Y : ROAD_X)) { goto not_valid_below; } -- cgit v1.2.3-54-g00ecf