Skip to main content
Topic: Cargo grouping in vehicle window (Read 4251 times) previous topic - next topic

Cargo grouping in vehicle window

Haven't seen this reported after quick look over forum, so here is what I found.
Having a vehicle which loads different cargoes, they don't appear to be grouped where they should. First cargoes appear empty, and then all are put together under the last cargo detail.
I'm using 101.1-2243.

The cargoes in the capture are in order: plastics, wooden planks and steel (and down are messed up: steel, plastics and planks).


Edit: Updated to version 102-2310 and still happens.

Re: Cargo grouping in vehicle window

Reply #1
cant reproduce this. Does this happen with newer nightly-versions too? Can you provide a savegame?
Parsley, sage, rosemary, and maggikraut.

Re: Cargo grouping in vehicle window

Reply #2
patch attached :)
Parsley, sage, rosemary, and maggikraut.

Re: Cargo grouping in vehicle window

Reply #3
The problem was, that in freight_list_sorter::sort_freight the the indices of goods in full_list and tdlist (after resorting, line 154) didn't have the same order. Am I right?

Re: Cargo grouping in vehicle window

Reply #4
yes :) the special goods were differently sorted in both lists.
Parsley, sage, rosemary, and maggikraut.