mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r26112) -Fix: make sure a vehicle list is always initialised
This commit is contained in:
parent
b53da6a6f5
commit
ffb9279479
|
@ -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. */
|
||||||
|
|
Loading…
Reference in New Issue