mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r10259) -Fix (r10258): committed a little too much.. would've made pretty cheap tunnels though :)
This commit is contained in:
parent
d0fa4eb9de
commit
75ebd2c5a8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user