From dc683f0fe5029c2258d557b37a59124d370535c6 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 15 Sep 2006 21:02:44 +0000 Subject: [PATCH] (svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium) --- players.c | 1 + 1 file changed, 1 insertion(+) diff --git a/players.c b/players.c index 308eb71bd3..326a160c77 100644 --- a/players.c +++ b/players.c @@ -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);