(svn r8107) -Codechange (r8106): Show the MD5SUM of the original GRF (saved in savegame) instead of that of the replacement so a user can still go hunt for the original GRF if needed.
authorDarkvater
Sat, 13 Jan 2007 17:44:11 +0000
changeset 5899 e6723e2544e4
parent 5898 2ee7d23291fa
child 5900 4253cc8b2962
(svn r8107) -Codechange (r8106): Show the MD5SUM of the original GRF (saved in savegame) instead of that of the replacement so a user can still go hunt for the original GRF if needed.
src/newgrf_config.cpp
--- a/src/newgrf_config.cpp	Sat Jan 13 17:42:50 2007 +0000
+++ b/src/newgrf_config.cpp	Sat Jan 13 17:44:11 2007 +0000
@@ -242,7 +242,7 @@
 			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);
 			}