(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.

pull/155/head
Darkvater 18 years ago
parent 9159823500
commit 7479eab247

@ -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);
}

Loading…
Cancel
Save