(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 9feb5fc9cc5b
parent 4605 ff9334ec338f
child 4607 2215d3175ad1
(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);