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

This commit is contained in:
rubidium 2013-11-25 16:36:11 +00:00
parent b53da6a6f5
commit ffb9279479
1 changed files with 1 additions and 4 deletions

View File

@ -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. */