From 0c9e65d8cc0651a4e2f3bffb2c0864549f78bb5b Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 16 Jan 2007 21:34:51 +0000 Subject: (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. --- src/newgrf_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2