Fix 7cfcf65: cargo_filter_criteria is now a CargoID instead of a index. (#11497)

This commit is contained in:
Peter Nelson 2023-11-26 19:30:22 +00:00 committed by GitHub
parent 7bee955a4b
commit 46098449b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ struct BaseVehicleListWindow : public Window {
Scrollbar *vscroll;
VehicleListIdentifier vli; ///< Identifier of the vehicle list we want to currently show.
VehicleID vehicle_sel; ///< Selected vehicle
byte cargo_filter_criteria; ///< Selected cargo filter index
CargoID cargo_filter_criteria; ///< Selected cargo filter index
uint order_arrow_width; ///< Width of the arrow in the small order list.
typedef GUIVehicleGroupList::SortFunction VehicleGroupSortFunction;