The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Zeno on February 08, 2009, 02:30:19 pm

Title: Cargo grouping in vehicle window
Post by: Zeno on February 08, 2009, 02:30:19 pm
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.
Title: Re: Cargo grouping in vehicle window
Post by: Dwachs on March 01, 2009, 01:30:23 pm
cant reproduce this. Does this happen with newer nightly-versions too? Can you provide a savegame?
Title: Re: Cargo grouping in vehicle window
Post by: Dwachs on March 05, 2009, 06:52:29 am
patch attached :)
Title: Re: Cargo grouping in vehicle window
Post by: gerw on March 05, 2009, 07:55:58 am
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?
Title: Re: Cargo grouping in vehicle window
Post by: Dwachs on March 05, 2009, 08:16:37 am
yes :) the special goods were differently sorted in both lists.
Title: Re: Cargo grouping in vehicle window
Post by: Zeno on March 05, 2009, 08:20:09 am
Wow... that was really quick! Thanks a lot!!