summaryrefslogtreecommitdiff
path: root/src/settings_func.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-05-29 23:27:01 +0200
committerGitHub <noreply@github.com>2021-05-29 23:27:01 +0200
commitd70fb74ac669bdb64b5f594894629ec91801fd76 (patch)
tree344150f3a69cd97cf774eec16eed291ed4e2467c /src/settings_func.h
parent5799402f7a4872d03809838dd7fa01db42bbd282 (diff)
downloadopenttd-d70fb74ac669bdb64b5f594894629ec91801fd76.tar.xz
Codechange: use setting name instead of index for CmdChange(Company)Setting (#9306)
This is mostly done as there are now constraints on settings.ini you might not expected. For example, conditional settings always have to come last, as otherwise they would influence the index.
Diffstat (limited to 'src/settings_func.h')
-rw-r--r--src/settings_func.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/settings_func.h b/src/settings_func.h
index 4a55821cf..d1ecdbac1 100644
--- a/src/settings_func.h
+++ b/src/settings_func.h
@@ -32,7 +32,6 @@ struct GRFConfig *LoadGRFPresetFromConfig(const char *config_name);
void SaveGRFPresetToConfig(const char *config_name, struct GRFConfig *config);
void DeleteGRFPresetFromConfig(const char *config_name);
-uint GetCompanySettingIndex(const char *name);
void SetDefaultCompanySettings(CompanyID cid);
void SyncCompanySettings();