OpenTTD

Tasklist

FS#4680 - Cost of changing the type of a bridge is undercalculated when laying new road types

Attached to Project: OpenTTD
Opened by Grzegorz DuczyƄski (adf88) - Monday, 11 July 2011, 09:45 GMT
Last edited by Remko Bijker (Rubidium) - Saturday, 30 July 2011, 14:10 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Very Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Cost of changing the type of a bridge is the same with and without adding new road types.

Steps to reproduce:
1. Open road building toolbar
2. Build two same bridges
3. Change type of the first one and note the cost
4. Select tram building toolbar
5. Change type of the second bridge (to the same type as previously) and note the cost
The cost is the same, but in the second case we are ending up with additional tram tracks.

Fix patch attached (the cost of the surface is multiplied by each road type):


This task depends upon

Closed by  Remko Bijker (Rubidium)
Saturday, 30 July 2011, 14:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r22700. Thanks for the patch

Loading...