diff options
author | peter1138 <peter1138@openttd.org> | 2006-09-15 21:02:44 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-09-15 21:02:44 +0000 |
commit | dc683f0fe5029c2258d557b37a59124d370535c6 (patch) | |
tree | 9c206541af34f63b985a67d61e889943f15d7348 | |
parent | db883dc49c1c92c307ca1368cac96980e698f9bc (diff) | |
download | openttd-dc683f0fe5029c2258d557b37a59124d370535c6.tar.xz |
(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)
-rw-r--r-- | players.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |