From aaad553233d95d68134d2eba573dc144d14d7f00 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 23 Jan 2009 15:06:56 +0000 Subject: (svn r15225) -Fix (r15126): searching for 'missing' NewGRFs gave the 'compatability loaded' NewGRF instead of the one that we're actually looking for --- src/newgrf_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_gui.cpp') diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 3596f52ec..727440b08 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -617,6 +617,7 @@ struct NewGRFWindow : public Window { ttd_strlcpy(ci->name, c->name != NULL ? c->name : c->filename, lengthof(ci->name)); ci->unique_id = BSWAP32(c->grfid); memcpy(ci->md5sum, c->md5sum, sizeof(ci->md5sum)); + if (HasBit(c->flags, GCF_COMPATIBLE)) GamelogGetOriginalGRFMD5Checksum(c->grfid, ci->md5sum); *cv.Append() = ci; } ShowNetworkContentListWindow(cv.Length() == 0 ? NULL : &cv, CONTENT_TYPE_NEWGRF); -- cgit v1.2.3-54-g00ecf