Fix #13681: Missing unused string parameter for NewGRF parameter string. (#13682)

This commit is contained in:
Peter Nelson 2025-03-01 16:12:52 +00:00 committed by GitHub
parent e02474fc3e
commit e0e845fc4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ static void ShowNewGRFInfo(const GRFConfig &c, const Rect &r, bool show_params)
if (!c.param.empty()) {
tr.top = DrawStringMultiLine(tr, GetString(STR_NEWGRF_SETTINGS_PARAMETER, STR_JUST_RAW_STRING, GRFBuildParamList(c)));
} else {
tr.top = DrawStringMultiLine(tr, GetString(STR_NEWGRF_SETTINGS_PARAMETER, STR_NEWGRF_SETTINGS_PARAMETER_NONE));
tr.top = DrawStringMultiLine(tr, GetString(STR_NEWGRF_SETTINGS_PARAMETER, STR_NEWGRF_SETTINGS_PARAMETER_NONE, std::monostate{}));
}
/* Draw the palette of the NewGRF */