diff options
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index a5ebc3e36..6ae724679 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -83,6 +83,12 @@ void SetLocalCompany(CompanyID new_company) _settings_client.gui.autorenew_money = c->engine_renew_money; InvalidateWindow(WC_GAME_OPTIONS, 0); } + + /* Delete any construction windows... */ + DeleteConstructionWindows(); + + /* ... and redraw the whole screen. */ + MarkWholeScreenDirty(); } bool IsHumanCompany(CompanyID company) |