Import: Filter vehicles in company vehicles lists by cargo patch
https://www.tt-forums.net/viewtopic.php?p=1193133#p1193133
This commit is contained in:
committed by
Jonathan G Rennison
parent
86a9438070
commit
b1613a24f0
@@ -16,8 +16,9 @@
|
||||
#include "vehiclelist.h"
|
||||
#include "window_gui.h"
|
||||
#include "widgets/dropdown_type.h"
|
||||
#include "cargo_type.h"
|
||||
|
||||
typedef GUIList<const Vehicle*> GUIVehicleList;
|
||||
typedef GUIList<const Vehicle*, CargoID> GUIVehicleList;
|
||||
|
||||
struct BaseVehicleListWindow : public Window {
|
||||
GUIVehicleList vehicles; ///< The list of vehicles
|
||||
|
||||
Reference in New Issue
Block a user