(svn r18112) -Fix (rnewpool): crash when a company got removed and you had the company league window opened
This commit is contained in:
@@ -76,6 +76,7 @@ void Company::PostDestructor(size_t index)
|
|||||||
{
|
{
|
||||||
InvalidateWindowData(WC_GRAPH_LEGEND, 0, (int)index);
|
InvalidateWindowData(WC_GRAPH_LEGEND, 0, (int)index);
|
||||||
InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, (int)index);
|
InvalidateWindowData(WC_PERFORMANCE_DETAIL, 0, (int)index);
|
||||||
|
InvalidateWindowData(WC_COMPANY_LEAGUE, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user