The International Simutrans Forum

 

Author Topic: Vehicle Details tab in Convoi Dialog always displays first player colors.  (Read 317 times)

0 Members and 1 Guest are viewing this topic.

Offline Leartin

  • Oh no, not him again!
  • Devotee
  • *
  • Posts: 1575
  • PAK-DEV P192C
  • Languages: DE, EN
See attached image.
The vehicles list displays all vehicles in player colors and updates if they load/unload.
The vehicle details in the convoi dialog is displayed with the first players color, no matter which player it belongs to. It also doesn't update the graphic when the vehicle loads/unloads but is stuck in the state it was when the dialog was opened. (this doesn't matter much though).

Of course in the code, these two are incomparable since one gets the image from vehicle_t, the other from vehicle_desc_t - it's not as simple as copypasting the code from vehiclelist_frame.cc to convoi_detail_t.cc. Still, if possible, the behaviour should be identical.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4870
  • Languages: EN, DE, AT
Re: Vehicle Details tab in Convoi Dialog always displays first player colors.
« Reply #1 on: December 21, 2020, 08:29:51 AM »
should be fixed in r9511. thanks for the report