summaryrefslogtreecommitdiff
path: root/newgrf_config.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-12-27 18:25:17 +0000
committerrubidium <rubidium@openttd.org>2006-12-27 18:25:17 +0000
commit8a812544ecbb2d154b07c83a106029c0c6a0cf1b (patch)
tree17849fbdb250fb405aa70ef3b19b245d9e512ad9 /newgrf_config.h
parent1d6bd64c19e3d8d4330d486aaeaa0e57ed878c35 (diff)
downloadopenttd-8a812544ecbb2d154b07c83a106029c0c6a0cf1b.tar.xz
(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.
Diffstat (limited to 'newgrf_config.h')
-rw-r--r--newgrf_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newgrf_config.h b/newgrf_config.h
index 24721a555..37f5c6d86 100644
--- a/newgrf_config.h
+++ b/newgrf_config.h
@@ -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);