mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r6458) - Fix (r6457): ... but close the colour window if the company is removed. (Thanks Rubidium)
This commit is contained in:
parent
db883dc49c
commit
dc683f0fe5
@ -632,6 +632,7 @@ void PlayersYearlyLoop(void)
|
|||||||
void DeletePlayerWindows(PlayerID pi)
|
void DeletePlayerWindows(PlayerID pi)
|
||||||
{
|
{
|
||||||
DeleteWindowById(WC_COMPANY, pi);
|
DeleteWindowById(WC_COMPANY, pi);
|
||||||
|
DeleteWindowById(WC_PLAYER_COLOR, pi);
|
||||||
DeleteWindowById(WC_FINANCES, pi);
|
DeleteWindowById(WC_FINANCES, pi);
|
||||||
DeleteWindowById(WC_STATION_LIST, pi);
|
DeleteWindowById(WC_STATION_LIST, pi);
|
||||||
DeleteWindowById(WC_TRAINS_LIST, (INVALID_STATION << 16) | pi);
|
DeleteWindowById(WC_TRAINS_LIST, (INVALID_STATION << 16) | pi);
|
||||||
|
Loading…
Reference in New Issue
Block a user