From df5237e721af45bb7b7eb766c5f93a47eaf4e973 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Sat, 19 Jul 2025 00:43:07 +0100 Subject: [PATCH] Fix: Vehicle liveries did not update when switching company. (#14456) Vehicle liveries must be refreshed if "Show vehicle-type specific liveries" is set to "Own company". --- src/company_cmd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index 3f48937794..d546fd7aa1 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -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(); } /**