(svn r26112) -Fix: make sure a vehicle list is always initialised
This commit is contained in:
@@ -47,10 +47,7 @@ struct VehicleListIdentifier {
|
|||||||
VehicleListIdentifier(VehicleListType type, VehicleType vtype, CompanyID company, uint index = 0) :
|
VehicleListIdentifier(VehicleListType type, VehicleType vtype, CompanyID company, uint index = 0) :
|
||||||
type(type), vtype(vtype), company(company), index(index) {}
|
type(type), vtype(vtype), company(company), index(index) {}
|
||||||
|
|
||||||
VehicleListIdentifier(uint32 data);
|
VehicleListIdentifier(uint32 data = 0);
|
||||||
|
|
||||||
/** Simple empty constructor. In this case you must set everything! */
|
|
||||||
VehicleListIdentifier() {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** A list of vehicles. */
|
/** A list of vehicles. */
|
||||||
|
Reference in New Issue
Block a user