(svn r24968) -Fix [FS#5379]: company window was not updated when shared were enabled/disabled

This commit is contained in:
rubidium
2013-02-04 20:29:38 +00:00
parent 05b5a91fe9
commit 0f53f270c1
4 changed files with 46 additions and 21 deletions

View File

@@ -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