From 3eb8f643fb17b34826370823cdc65d2aaf0958e4 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 10 Jun 2009 18:53:43 +0000 Subject: (svn r16554) -Fix (r16433): compilation with disabled network was broken --- src/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 73606af18..648c4c2fa 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1523,6 +1523,7 @@ void SetDefaultCompanySettings(CompanyID cid) } } +#if defined(ENABLE_NETWORK) /** * Sync all company settings in a multiplayer game. */ @@ -1538,6 +1539,7 @@ void SyncCompanySettings() if (old_value != new_value) NetworkSend_Command(0, i, new_value, CMD_CHANGE_COMPANY_SETTING, NULL, NULL); } } +#endif /* ENABLE_NETWORK */ /** * Get the index in the _company_settings array of a setting -- cgit v1.2.3-70-g09d2