(svn r19573) -Fix (r19541): Special cargos did not appear at the refit list.

This commit is contained in:
terkhen
2010-04-07 14:17:29 +00:00
parent dfa9e9d9d3
commit 869fac9964
5 changed files with 25 additions and 12 deletions

View File

@@ -854,7 +854,7 @@ struct BuildVehicleWindow : Window {
/* Collect available cargo types for filtering. */
const CargoSpec *cs;
FOR_ALL_SORTED_CARGOSPECS(cs) {
FOR_ALL_SORTED_STANDARD_CARGOSPECS(cs) {
this->cargo_filter[filter_items] = cs->Index();
this->cargo_filter_texts[filter_items] = cs->name;
filter_items++;