# HG changeset patch # User peter1138 # Date 1158354164 0 # Node ID 9feb5fc9cc5b3940dbcf2e9ec7193f688f1956b6 # Parent ff9334ec338f53ac2ecfbc5a52c8ce21263b0844 (svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium) diff -r ff9334ec338f -r 9feb5fc9cc5b players.c --- a/players.c Fri Sep 15 20:37:48 2006 +0000 +++ b/players.c Fri Sep 15 21:02:44 2006 +0000 @@ -632,6 +632,7 @@ 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);