(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)
authorpeter1138
Fri, 15 Sep 2006 21:02:44 +0000
changeset 4606 3e53aa913d66
parent 4605 b13f553065ac
child 4607 323a239feef7
(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)
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);