(svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList
This commit is contained in:
@@ -43,7 +43,8 @@ extern GRFConfig *_grfconfig_static;
|
||||
void ScanNewGRFFiles(void);
|
||||
const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum);
|
||||
GRFConfig *GetGRFConfig(uint32 grfid);
|
||||
void ClearGRFConfig(GRFConfig *config);
|
||||
GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src);
|
||||
void ClearGRFConfig(GRFConfig **config);
|
||||
void ClearGRFConfigList(GRFConfig *config);
|
||||
void ResetGRFConfig(bool defaults);
|
||||
bool IsGoodGRFConfigList(void);
|
||||
|
||||
Reference in New Issue
Block a user