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 removing secondary road type from bridge/tunnel is only half of correct value #6538

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 5, 2017

JGR opened the ticket and wrote:

The cost of removing the secondary road type from a bridge/tunnel is only half of removing the equivalent length of secondary road type from plain road.
This is because in calculating the cost the length in tiles is used, instead of the length in pieces.
A patch to fix this is attached.

Attachments

Reported version: trunk
Operating system: All


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

frosch closed the ticket.

Reason for closing: Fixed

in r27746. Thanks for the patch!


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

@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