diff options
author | Darkvater <Darkvater@openttd.org> | 2007-01-16 21:34:51 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2007-01-16 21:34:51 +0000 |
commit | 7479eab247cb57411d4d1cf4970c0ba9db985b80 (patch) | |
tree | 4b7a36e05c85df088aa40e70f754e9631b5a3087 /src/newgrf_config.cpp | |
parent | 9159823500d2b8d1e69f275cea7353d6e7caebbf (diff) | |
download | openttd-7479eab247cb57411d4d1cf4970c0ba9db985b80.tar.xz |
(svn r8165) -Revert r8107 and show the MD5SUM of the *REPLACEMENT* grf file, NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame.
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index 288d06aba..f17839306 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -242,7 +242,7 @@ compatible_grf: if (!HASBIT(c->flags, GCF_COPY)) { free(c->filename); c->filename = strdup(f->filename); - /*memcpy(c->md5sum, f->md5sum, sizeof(c->md5sum));*/ + memcpy(c->md5sum, f->md5sum, sizeof(c->md5sum)); if (c->name == NULL) c->name = strdup(f->name); if (c->info == NULL) c->info = strdup(f->info); } |