(svn r26112) -Fix: make sure a vehicle list is always initialised

pull/155/head
rubidium 11 years ago
parent baad79b1b6
commit 94b9ee1e45

@ -47,10 +47,7 @@ struct VehicleListIdentifier {
VehicleListIdentifier(VehicleListType type, VehicleType vtype, CompanyID company, uint index = 0) :
type(type), vtype(vtype), company(company), index(index) {}
VehicleListIdentifier(uint32 data);
/** Simple empty constructor. In this case you must set everything! */
VehicleListIdentifier() {}
VehicleListIdentifier(uint32 data = 0);
};
/** A list of vehicles. */

Loading…
Cancel
Save