In https://dev.openttdcoop.org/projects/xussrset/repository/revisions/0692478a203e 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.
Thanks for this. There's been no activity on this for some time, and as it stands, it doesn't look likely that it will go any further. I'm closing it as we try to keep the issue count low for OpenTTD, it helps us focus on things that are important and fun. Feel free to discuss in irc or request re-opening if you disagree. Thanks for contributing!