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

This commit is contained in:
peter1138
2006-09-15 21:02:44 +00:00
parent 05f7677b9d
commit 7f13f4e82f

View File

@@ -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);