Changeset - r20997:6eb354da02ee
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-11-23 18:11:22
rubidium@openttd.org
(svn r26071) -Fix: always initialise GRFFileProps
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/newgrf_commons.h
Show inline comments
 
@@ -324,13 +324,11 @@ struct GRFFilePropsBase {
 
/** Data related to the handling of grf files. */
 
struct GRFFileProps : GRFFilePropsBase<1> {
 
	/** Set all default data constructor for the props. */
 
	GRFFileProps(uint16 subst_id) :
 
	GRFFileProps(uint16 subst_id = 0) :
 
			GRFFilePropsBase<1>(), subst_id(subst_id), override(subst_id)
 
	{
 
	}
 

	
 
	/** Simple constructor for the props. */
 
	GRFFileProps() : GRFFilePropsBase<1>() {}
 
	uint16 subst_id;
 
	uint16 override;                      ///< id of the entity been replaced by
 
};
0 comments (0 inline, 0 general)