mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
This commit is contained in:
parent
714ff35e9d
commit
b3669a8795
@ -1370,7 +1370,8 @@ struct BuildVehicleWindow : Window {
|
||||
|
||||
/* Filter engine name */
|
||||
this->string_filter.ResetState();
|
||||
this->string_filter.AddLine(GetString(e->info.string_id));
|
||||
SetDParam(0, PackEngineNameDParam(e->index, EngineNameContext::PurchaseList));
|
||||
this->string_filter.AddLine(GetString(STR_ENGINE_NAME));
|
||||
|
||||
/* Filter NewGRF extra text */
|
||||
auto text = GetNewGRFAdditionalText(e->index);
|
||||
|
Loading…
Reference in New Issue
Block a user