crash when setting TrainCargo restriction
Original Author: email@example.com
TTDPatch Version: 2.6 alpha r1397 win
Patch Feature: tracerestrict
The game crashes when i try to create a routefinding restriction with variable "train cargo". When i try to set a value for this criteria. (Sometimes when i click value, sometimes when i select a cargo from the drop-down menu.) I am using 4 ECS vectors, possibly there are to many cargos. Leaving all vectors enabled results in 22 cargos, disabling one vector leaves up to 19 cargos, and the feature works fine.
Additionally, one cargo appears twice, and in a strange possition below the drop-down menu (see attached screenshot)
The attachment contains the ttdpatch.cfg, newgrfw.cfg, the crashlog and a screenshot.