Changeset - r21032:e58adc438144
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-25 16:36:11
rubidium@openttd.org
(svn r26112) -Fix: make sure a vehicle list is always initialised
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/vehiclelist.h
Show inline comments
 
@@ -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. */
0 comments (0 inline, 0 general)