Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DorpsGek opened this issue Jul 11, 2011 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

adf88 opened the ticket and wrote:

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):

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4680
@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r22700. Thanks for the patch


This comment was imported from FlySpray: https://bugs.openttd.org/task/4680

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant