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 /regression | |
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 'regression')
-rw-r--r-- | regression/regression/result.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regression/regression/result.txt b/regression/regression/result.txt index 2153cdaad..84d8feaff 100644 --- a/regression/regression/result.txt +++ b/regression/regression/result.txt @@ -7314,7 +7314,7 @@ ERROR: IsEnd() is invalid as Begin() is never called IsBuoyTile(): false IsLockTile(): false IsCanalTile(): false - GetBankBalance(): 1999979664 + GetBankBalance(): 1999979304 BuildWaterDepot(): true BuildDock(): true BuildBuoy(): true @@ -7327,7 +7327,7 @@ ERROR: IsEnd() is invalid as Begin() is never called IsBuoyTile(): true IsLockTile(): true IsCanalTile(): true - GetBankBalance(): 1999965040 + GetBankBalance(): 1999964680 --AIWaypointList(BUOY)-- Count(): 1 @@ -7346,7 +7346,7 @@ ERROR: IsEnd() is invalid as Begin() is never called IsBuoyTile(): false IsLockTile(): false IsCanalTile(): false - GetBankBalance(): 1999959645 + GetBankBalance(): 1999959285 BuildWaterDepot(): true BuildDock(): true |