FS#6418 - bitmask_vehicle_info is not specified for all the engines

Attached to Project: OpenTTD
Opened by George (George) - Sunday, 07 February 2016, 08:46 GMT
Type Bug
Category Vehicles
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



In I've made a code for VL15 that should specify a flag for the 2-nd VL15 in a train in case it has specific refit.
When the train length is 2 sections or there are only wagons after the second VL15, the flag works correctly. But when I add the 3-d VL15 the flag disappears.
It looks like bitmask_vehicle_info is calculated only for the last VL15, but not the others.
This task depends upon