diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-06 21:12:32 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-01-08 12:02:25 +0100 |
commit | aac8c28d7369a4394303449ce5307067379067bd (patch) | |
tree | 58b51f7f2caf1463d213bd2cd0a284bce990a7a2 /src/tgp.cpp | |
parent | ebd9f26c152a400d55d52bad77ec97ea2f5788fe (diff) | |
download | openttd-aac8c28d7369a4394303449ce5307067379067bd.tar.xz |
Fix #7656: destroying a tunnel/bridge now first removes the tracks for cost calculation
This means that for rail tunnel/bridges, the rail is first sold,
and the tunnel/bridge is destroyed after. This means destroying
tunnels/ bridges now often makes you money, instead of costing.
Similar, with road/tram tracks. Destroying a road+tram
tunnel/bridge now costs the same amount of money as first
removing the tram tracks and than destroying the road
tunnel/bridge. Especially as tram tracks generate money when
removing, this is a noticeable difference.
Diffstat (limited to 'src/tgp.cpp')
0 files changed, 0 insertions, 0 deletions