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
commit75ebd2c5a8001e33d204f242e2baa5eacae1981a (patch)
tree06ea1d32c39c527ae835116d7aae79898c7e30fb
parentd0fa4eb9de1a3ee1ebaff4d71890a2fee5e4e32d (diff)
downloadopenttd-75ebd2c5a8001e33d204f242e2baa5eacae1981a.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);