summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authordP <dp@dpointer.org>2021-02-21 02:32:45 +0300
committerCharles Pigott <charlespigott@googlemail.com>2021-03-08 18:18:47 +0000
commit56911a86ea2fad84383729ece63c837dc012f14d (patch)
treef8c6ca8d939beea64cdae4ef86a321c2e2b75a8d /src/company_cmd.cpp
parent818bee3961d41dc830803792ab3cbe064c8b1f65 (diff)
downloadopenttd-56911a86ea2fad84383729ece63c837dc012f14d.tar.xz
Add: Buttons to open global goals from company goals and vice versa
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 946ff0d57..ab9e7e12e 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -120,6 +120,7 @@ void SetLocalCompany(CompanyID new_company)
/* ... and redraw the whole screen. */
MarkWholeScreenDirty();
InvalidateWindowClassesData(WC_SIGN_LIST, -1);
+ InvalidateWindowClassesData(WC_GOALS_LIST);
}
/**