(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)

This commit is contained in:
rubidium 2007-06-21 17:27:21 +00:00
parent d0fa4eb9de
commit 75ebd2c5a8

View File

@ -512,7 +512,6 @@ CommandCost CmdBuildTunnel(TileIndex start_tile, uint32 flags, uint32 p1, uint32
cost.AddCost(_price.build_tunnel); cost.AddCost(_price.build_tunnel);
cost.AddCost(cost.GetCost() >> 3); // add a multiplier for longer tunnels cost.AddCost(cost.GetCost() >> 3); // add a multiplier for longer tunnels
} }
cost.MultiplyCost(0);
/* Add the cost of the entrance */ /* Add the cost of the entrance */
cost.AddCost(_price.build_tunnel); cost.AddCost(_price.build_tunnel);