1
0
Fork 0

Fix: Vehicle liveries did not update when switching company.

Vehicle liveries must be refreshed if "Show vehicle-type specific liveries" is set to "Own company".
pull/14456/head
Peter Nelson 2025-07-18 17:02:55 +01:00
parent 03672ed8eb
commit 64b08fd3a1
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ void SetLocalCompany(CompanyID new_company)
MarkWholeScreenDirty();
InvalidateWindowClassesData(WC_SIGN_LIST, -1);
InvalidateWindowClassesData(WC_GOALS_LIST);
InvalidateWindowClassesData(WC_COMPANY_COLOUR, -1);
ResetVehicleColourMap();
}
/**