summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-05-09 08:17:33 +0000
committerrubidium <rubidium@openttd.org>2006-05-09 08:17:33 +0000
commit9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45 (patch)
tree975779e5070a23a2c674c5848eaf2fef8b8d766a /tunnelbridge_cmd.c
parenta0e387597ac53c810a24a01521aa3e802964e8d5 (diff)
downloadopenttd-9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45.tar.xz
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index 5fc8b6108..d1815a7eb 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -334,7 +334,7 @@ int32 CmdBuildBridge(TileIndex end_tile, uint32 flags, uint32 p1, uint32 p2)
break;
case MP_RAILWAY:
- if (GetRailTileType(tile) != RAIL_TYPE_NORMAL ||
+ if (GetRailTileType(tile) != RAIL_TILE_NORMAL ||
GetTrackBits(tile) != (direction == AXIS_X ? TRACK_BIT_Y : TRACK_BIT_X)) {
goto not_valid_below;
}