(svn r7582) -Fix (r7490): appending static GRFs to the list of to-be loaded GRF for a game could result in duplicate GRFs in that list, which can cause a segmentation fault while loading the GRFs.
This commit is contained in:
@@ -44,6 +44,7 @@ void ScanNewGRFFiles(void);
|
||||
const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum);
|
||||
GRFConfig *GetGRFConfig(uint32 grfid);
|
||||
GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src);
|
||||
void AppendStaticGRFConfigs(GRFConfig **dst);
|
||||
void ClearGRFConfig(GRFConfig **config);
|
||||
void ClearGRFConfigList(GRFConfig **config);
|
||||
void ResetGRFConfig(bool defaults);
|
||||
|
||||
Reference in New Issue
Block a user