summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-21 14:58:30 +0000
committerrubidium <rubidium@openttd.org>2007-06-21 14:58:30 +0000
commit709ec2956360dc7a4e998b621f4db0417408de24 (patch)
tree30d79ab0c981d41f7c1cc91a6c8ea5cf0e834fea /src
parenteb1472a82d8007a1deddc25ae81f872e7a91abe5 (diff)
downloadopenttd-709ec2956360dc7a4e998b621f4db0417408de24.tar.xz
(svn r10248) -Codechange: don't limit the cost of tunnels.
Diffstat (limited to 'src')
-rw-r--r--src/tunnelbridge_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 528ba99b9..c705bb28d 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -504,7 +504,6 @@ CommandCost CmdBuildTunnel(TileIndex start_tile, uint32 flags, uint32 p1, uint32
cost.AddCost(_price.build_tunnel);
cost.AddCost(cost.GetCost() >> 3); // add a multiplier for longer tunnels
- if (cost.GetCost() >= 400000000) cost.AddCost(400000000 - cost.GetCost());
}
/* Add the cost of the entrance */