Fix cb1c240: Client list is not invalidated after company take over. (#14955)

This commit is contained in:
Cyprian Klimaszewski
2025-12-24 14:01:15 +01:00
committed by dP
parent 26a1f90d0f
commit 8adc1c6e98

View File

@@ -2026,6 +2026,7 @@ static void DoAcquireCompany(Company *c, bool hostile_takeover)
InvalidateWindowClassesData(WC_SHIPS_LIST, 0);
InvalidateWindowClassesData(WC_ROADVEH_LIST, 0);
InvalidateWindowClassesData(WC_AIRCRAFT_LIST, 0);
InvalidateWindowData(WC_CLIENT_LIST, 0);
delete c;
}