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

This commit is contained in:
rubidium 2009-11-15 23:22:07 +00:00
parent 0666a70583
commit b02662c4c4
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
/**