diff options
author | rubidium42 <rubidium@openttd.org> | 2021-04-28 17:38:02 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-13 23:13:17 +0200 |
commit | 0f062b38826efbfa3b250da3943a6927346bc18c (patch) | |
tree | d0a028ac976b69b6d360979fc0c869f500543e60 /src/script | |
parent | a032714dc4ca2b620af1ba9a444840d46ec9326f (diff) | |
download | openttd-0f062b38826efbfa3b250da3943a6927346bc18c.tar.xz |
Codechange: clean up C-string support from settings
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/api/script_gamesettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_gamesettings.cpp b/src/script/api/script_gamesettings.cpp index bdaeb6c93..2717d4ddd 100644 --- a/src/script/api/script_gamesettings.cpp +++ b/src/script/api/script_gamesettings.cpp @@ -19,7 +19,7 @@ { uint i; const SettingDesc *sd = GetSettingFromName(setting, &i); - return sd != nullptr && sd->desc.cmd != SDT_STRING; + return sd != nullptr && sd->desc.cmd != SDT_STDSTRING; } /* static */ int32 ScriptGameSettings::GetValue(const char *setting) |