FS#6552 - Yapf returns paths "longer" than max_penalty
Attached to Project:
OpenTTD
Opened by Peter Nelson (peter1138) - Monday, 03 April 2017, 09:22 GMT
Last edited by Peter Nelson (peter1138) - Monday, 03 April 2017, 22:04 GMT
Opened by Peter Nelson (peter1138) - Monday, 03 April 2017, 09:22 GMT
Last edited by Peter Nelson (peter1138) - Monday, 03 April 2017, 22:04 GMT
|
DetailsAs mentioned in FS#6476, Yapf will return paths whose penalty is greater than max_penalty in some cases, if the too long path ends on a suitable destination.
Fixing this affects train depot finding adversely (as it relies on this bug). It may be this is correct, or may be the max_penalty defaults need reviewing. |
This task depends upon
Closed by Peter Nelson (peter1138)
Monday, 03 April 2017, 22:04 GMT
Reason for closing: Fixed
Additional comments about closing: r27844
Monday, 03 April 2017, 22:04 GMT
Reason for closing: Fixed
Additional comments about closing: r27844