(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 18 years ago
parent db883dc49c
commit dc683f0fe5

@ -632,6 +632,7 @@ void PlayersYearlyLoop(void)
void DeletePlayerWindows(PlayerID pi)
{
DeleteWindowById(WC_COMPANY, pi);
DeleteWindowById(WC_PLAYER_COLOR, pi);
DeleteWindowById(WC_FINANCES, pi);
DeleteWindowById(WC_STATION_LIST, pi);
DeleteWindowById(WC_TRAINS_LIST, (INVALID_STATION << 16) | pi);

Loading…
Cancel
Save