mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 05:15:21 +00:00
(svn r10248) -Codechange: don't limit the cost of tunnels.
This commit is contained in:
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
Block a user