diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 14:58:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 14:58:30 +0000 |
commit | dffad5260b0736e3c66d133de88624e2db195bd7 (patch) | |
tree | 30d79ab0c981d41f7c1cc91a6c8ea5cf0e834fea /src | |
parent | 1b27095c830d0e9fb399cf5340d2cf58db388e21 (diff) | |
download | openttd-dffad5260b0736e3c66d133de88624e2db195bd7.tar.xz |
(svn r10248) -Codechange: don't limit the cost of tunnels.
Diffstat (limited to 'src')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 1 |
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 */ |