summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-21 17:27:21 +0000
committerrubidium <rubidium@openttd.org>2007-06-21 17:27:21 +0000
commit9feb9f84fc45831ba4ef001ccad5ec04e52be224 (patch)
tree06ea1d32c39c527ae835116d7aae79898c7e30fb
parent9c0944aa09b1d36a60d81c41088a906064086bfb (diff)
downloadopenttd-9feb9f84fc45831ba4ef001ccad5ec04e52be224.tar.xz
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
-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 ce2a0a380..bd944b813 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -512,7 +512,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
}
- cost.MultiplyCost(0);
/* Add the cost of the entrance */
cost.AddCost(_price.build_tunnel);