diff options
author | rubidium <rubidium@openttd.org> | 2011-11-04 10:30:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-04 10:30:10 +0000 |
commit | 1dc685aeea202f1677f915d390dc13ce3e18c462 (patch) | |
tree | 2cacacd88d133fa3bbbe11c706dcf21f841898d0 /src/tunnelbridge_cmd.cpp | |
parent | 0b6dbaf6645644be09d101b15806a13479610fda (diff) | |
download | openttd-1dc685aeea202f1677f915d390dc13ce3e18c462.tar.xz |
(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 104aadc09..d07603f16 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -1676,8 +1676,6 @@ static VehicleEnterTileStatus VehicleEnter_TunnelBridge(Vehicle *v, TileIndex ti static CommandCost TerraformTile_TunnelBridge(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new) { if (_settings_game.construction.build_on_slopes && AutoslopeEnabled() && IsBridge(tile) && GetTunnelBridgeTransportType(tile) != TRANSPORT_WATER) { - z_new /= TILE_HEIGHT; - DiagDirection direction = GetTunnelBridgeDirection(tile); Axis axis = DiagDirToAxis(direction); CommandCost res; |