Codechange: Cargo filters no longer take an index. (#11582)

Update naming of functions to reflect that parameter is now a cargoid.
This commit is contained in:
Peter Nelson
2023-12-14 01:48:45 +00:00
committed by GitHub
parent d6515d6c98
commit 12bb750128
4 changed files with 20 additions and 20 deletions

View File

@@ -121,7 +121,7 @@ struct BaseVehicleListWindow : public Window {
void UpdateVehicleGroupBy(GroupBy group_by);
void SortVehicleList();
void BuildVehicleList();
void SetCargoFilterIndex(byte index);
void SetCargoFilter(byte index);
void SetCargoFilterArray();
void FilterVehicleList();
StringID GetCargoFilterLabel(CargoID cid) const;