summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-02-04 20:29:38 +0000
committerrubidium <rubidium@openttd.org>2013-02-04 20:29:38 +0000
commit99a08e1e8cec3d73bf802e64b9e460e71f47cb43 (patch)
treebe103dfa43a828c12444678bce7fe67c679b372f /src/table
parent26adb854e05d781f05f29c4584c5c58d92461cce (diff)
downloadopenttd-99a08e1e8cec3d73bf802e64b9e460e71f47cb43.tar.xz
(svn r24968) -Fix [FS#5379]: company window was not updated when shared were enabled/disabled
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index eafbee3a1..b39d29a54 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -38,6 +38,7 @@ static bool InvalidateIndustryViewWindow(int32 p1);
static bool InvalidateAISettingsWindow(int32 p1);
static bool RedrawTownAuthority(int32 p1);
static bool InvalidateCompanyInfrastructureWindow(int32 p1);
+static bool InvalidateCompanyWindow(int32 p1);
static bool ZoomMinMaxChanged(int32 p1);
#ifdef ENABLE_NETWORK
@@ -1227,6 +1228,7 @@ var = economy.allow_shares
def = false
str = STR_CONFIG_SETTING_ALLOW_SHARES
strhelp = STR_CONFIG_SETTING_ALLOW_SHARES_HELPTEXT
+proc = InvalidateCompanyWindow
[SDT_VAR]
base = GameSettings