Codechange: Remove FOR_ALL_SORTED_STANDARD_CARGOSPECS
This commit is contained in:
@@ -1186,8 +1186,7 @@ struct BuildVehicleWindow : Window {
|
||||
}
|
||||
|
||||
/* Collect available cargo types for filtering. */
|
||||
const CargoSpec *cs;
|
||||
FOR_ALL_SORTED_STANDARD_CARGOSPECS(cs) {
|
||||
for (const CargoSpec *cs : _sorted_standard_cargo_specs) {
|
||||
this->cargo_filter[filter_items] = cs->Index();
|
||||
this->cargo_filter_texts[filter_items] = cs->name;
|
||||
filter_items++;
|
||||
|
Reference in New Issue
Block a user