mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 02:12:37 +01:00
Codechange: Store EncodedString for tooltip text.
This replaces capturing and storing string parameters.
This commit is contained in:
committed by
Peter Nelson
parent
1f21e9dc74
commit
2cb9f55183
@@ -584,7 +584,7 @@ struct CheatWindow : Window {
|
||||
|
||||
const SettingDesc *desc = this->sandbox_settings[row];
|
||||
const IntSettingDesc *sd = desc->AsIntSetting();
|
||||
GuiShowTooltips(this, sd->GetHelp(), close_cond);
|
||||
GuiShowTooltips(this, GetEncodedString(sd->GetHelp()), close_cond);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user