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 Peter Nelson
parent 5854536b89
commit ecd95d332c
+1
View File
@@ -2004,6 +2004,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;
}