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

Cloning aircraft orders fails for aircraft that have no range specified #4885

Closed
DorpsGek opened this issue Dec 13, 2011 · 1 comment
Closed
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Hirundo opened the ticket and wrote:

Present since (I presume) r23504, encountered in r23510.

When cloning / sharing aircraft orders (of aircraft that have no 'range'-property set), I get the error message 'exceeds maximum range'.
It seems the clone/share DoCommand checks the range, but the code path taken doesn't include a 'range != 0' check anywhere.

Reported version: trunk
Operating system: All


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

planetmaker closed the ticket.

Reason for closing: Fixed

In r23511. Thanks for the patch


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

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

No branches or pull requests

1 participant