summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-01-06 21:12:32 +0100
committerPatric Stout <github@truebrain.nl>2021-01-08 12:02:25 +0100
commitaac8c28d7369a4394303449ce5307067379067bd (patch)
tree58b51f7f2caf1463d213bd2cd0a284bce990a7a2 /src/tgp.cpp
parentebd9f26c152a400d55d52bad77ec97ea2f5788fe (diff)
downloadopenttd-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