forked from mirror/OpenTTD
(svn r10248) -Codechange: don't limit the cost of tunnels.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user