mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-06 22:37:22 +00:00
(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.
This commit is contained in:
parent
542f156091
commit
0c9e65d8cc
@ -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…
Reference in New Issue
Block a user