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:
committed by
Peter Nelson
parent
e818fcbf19
commit
27761ae431
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user