1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

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 GitHub
parent 9ac7623608
commit cb06ca69e8

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;
}