FS#202 - 2 Locomotives in 1 Train - Selling one results in Age of the other one Being 0

Attached to Project: OpenTTD
Opened by Darklord (Darklord) - Thursday, 08 June 2006, 09:46 GMT
Last edited by Darkvater (Darkvater) - Saturday, 09 December 2006, 01:16 GMT
Type Bug
Category Vehicles
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


You build a Train with more than 1 Locomotive in it. Then after some Years (for example when the Train gets too old and should be replaced) sell one Locomotive. The other one will have an Age of 0 Years. (only tested it with 2 locomotives in 1 Train).
This task depends upon

Closed by  Patric Stout (TrueBrain)
Friday, 22 June 2007, 22:42 GMT
Reason for closing:  Deferred
Additional comments about closing:  Fixed in r10288
Comment by Bjarni (Bjarni) - Wednesday, 19 July 2006, 14:43 GMT
this is a known issue. Only the front unit age
Comment by Sylvain Devidal (MagicBuzz) - Thursday, 04 January 2007, 13:37 GMT
I'm not sure it's a bug, but a lack of feature.
I parsed the code about it, and what I see is that a second loco is just a simple wagon. It can't break down nor get old. So it's normal it's age doesn't change.
Just do a simple test : when a loco gets old, put it as a secondary loco. You'll never be notified about it gets very old.
Comment by kaan (kaan) - Friday, 01 June 2007, 10:00 GMT
I made a patch addressing this issue among others with multi engine trains.

If anyone is interested I could make a clean version only addressing this bug report.