From 0f062b38826efbfa3b250da3943a6927346bc18c Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Wed, 28 Apr 2021 17:38:02 +0200 Subject: Codechange: clean up C-string support from settings --- src/script/api/script_gamesettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/api') 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) -- cgit v1.2.3-70-g09d2