(svn r18112) -Fix (rnewpool): crash when a company got removed and you had the company league window opened

pull/155/head
rubidium 15 years ago
parent c025be2807
commit a1a3e10124

@ -76,6 +76,7 @@ void Company::PostDestructor(size_t index)
{
InvalidateWindowData(WC_GRAPH_LEGEND, 0, (int)index);
InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, (int)index);
InvalidateWindowData(WC_COMPANY_LEAGUE, 0, 0);
}
/**

Loading…
Cancel
Save