OpenTTD

Tasklist

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
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Version?
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

As 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

Loading...