Codechange: Remove STR_ORANGE_STRING1_WHITE and STR_ORANGE_STRING1_LTBLUE.

This commit is contained in:
glx22
2023-04-28 01:24:04 +02:00
committed by PeterN
parent 61407840c6
commit 49eb638563
2 changed files with 2 additions and 3 deletions

View File

@@ -1324,7 +1324,7 @@ void SettingEntry::DrawSetting(GameSettings *settings_ptr, int left, int right,
/* We do not allow changes of some items when we are a client in a networkgame */
bool editable = sd->IsEditable();
SetDParam(0, highlight ? STR_ORANGE_STRING1_WHITE : STR_ORANGE_STRING1_LTBLUE);
SetDParam(0, STR_CONFIG_SETTING_VALUE);
int32 value = sd->Read(ResolveObject(settings_ptr, sd));
if (sd->IsBoolSetting()) {
/* Draw checkbox for boolean-value either on/off */