(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.

This commit is contained in:
frosch
2010-10-17 12:12:13 +00:00
parent 0169276d7d
commit a7e486360d
9 changed files with 30 additions and 17 deletions

View File

@@ -176,7 +176,7 @@ void NetworkAfterNewGRFScan()
for (GRFConfig *c = item->info.grfconfig; c != NULL; c = c->next) {
assert(HasBit(c->flags, GCF_COPY));
const GRFConfig *f = FindGRFConfig(c->ident.grfid, c->ident.md5sum);
const GRFConfig *f = FindGRFConfig(c->ident.grfid, FGCM_EXACT, c->ident.md5sum);
if (f == NULL) {
/* Don't know the GRF, so mark game incompatible and the (possibly)
* already resolved name for this GRF (another server has sent the