summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-01-13 17:23:02 +0000
committerDarkvater <darkvater@openttd.org>2007-01-13 17:23:02 +0000
commit3f168daee13cd537bf2e07e18e0f03ff654ee0d0 (patch)
tree50468b8c751ceb2369b33715000a55cf1e10dc45 /src/newgrf_config.h
parentae41162322f2954cb2b4af05887643d90611906e (diff)
downloadopenttd-3f168daee13cd537bf2e07e18e0f03ff654ee0d0.tar.xz
(svn r8105) -Codechange: Change FindGRFConfig so that if md5sum parameter is omitted (or NULL)
only a check for GRFID is done and not on md5sum as well. Remove blanksum in the function as it's obsoleted
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index 6ebc3ffa2..7cc90d41f 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -41,7 +41,7 @@ extern GRFConfig *_grfconfig_newgame;
extern GRFConfig *_grfconfig_static;
void ScanNewGRFFiles(void);
-const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum);
+const GRFConfig *FindGRFConfig(uint32 grfid, const uint8 *md5sum = NULL);
GRFConfig *GetGRFConfig(uint32 grfid);
GRFConfig **CopyGRFConfigList(GRFConfig **dst, const GRFConfig *src);
void AppendStaticGRFConfigs(GRFConfig **dst);