OpenTTD

Tasklist

FS#4651 - Bug in train commands when changing cargotype in a specific situation

Attached to Project: OpenTTD
Opened by Bert Buiten (Bert_Buiten) - Sunday, 19 June 2011, 18:09 GMT
Last edited by frosch (frosch) - Saturday, 02 July 2011, 16:46 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When adding a command for maintenance in a depot and adding another command for maintenance and changing cargotype in the same depot, the cargotype will not being changed.

Example:

Order: Goto ....
Order: Maintenance in Depot ....
Order: Maintenance in Depot .... and change cargotype to ....
Order: Goto ....

In the attached file, follow "Iron Train Tt 1"
This task depends upon

Closed by  frosch (frosch)
Saturday, 02 July 2011, 16:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r22620
Comment by Thijs Marinussen (Yexo) - Tuesday, 21 June 2011, 12:20 GMT
Your depot orders are "Service at depot", not "Go to depot" orders. "Service at depot" means "As soon as this order is reached, determine whether we need service. If not, skip this order. If we do, go to the depot". As such a "Service at depot and refit to" order doesn't make sense.
Comment by Thijs Marinussen (Yexo) - Tuesday, 21 June 2011, 12:21 GMT
Leaving this task open as imo OpenTTD should prevent such orders being created where possible,

Loading...