mirror of https://github.com/OpenTTD/OpenTTD
(svn r10248) -Codechange: don't limit the cost of tunnels.
parent
eb1472a82d
commit
709ec29563
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue