(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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user