1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-22 11:44:17 +01:00

Cleanup: Remove global string parameters.

Global parameters, and functions for dealing with them, are now gone.
This commit is contained in:
Peter Nelson
2025-03-03 23:32:51 +00:00
committed by Peter Nelson
parent e818fcbf19
commit 27761ae431
10 changed files with 14 additions and 264 deletions

View File

@@ -502,7 +502,6 @@ bool Window::SetFocusedWidget(WidgetID widget_index)
std::string Window::GetWidgetString([[maybe_unused]] WidgetID widget, StringID stringid) const
{
if (stringid == STR_NULL) return {};
this->SetStringParameters(widget);
return GetString(stringid);
}