mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-31 08:17:57 +01:00
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".
This commit is contained in:
parent
03f5f7145f
commit
df5237e721
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user