equal
deleted
inserted
replaced
208 GCF_Flags res = GCF_ACTIVATED; |
208 GCF_Flags res = GCF_ACTIVATED; |
209 |
209 |
210 for (GRFConfig *c = _grfconfig; c != NULL; c = c->next) { |
210 for (GRFConfig *c = _grfconfig; c != NULL; c = c->next) { |
211 const GRFConfig *f = FindGRFConfig(c->grfid, c->md5sum); |
211 const GRFConfig *f = FindGRFConfig(c->grfid, c->md5sum); |
212 if (f == NULL) { |
212 if (f == NULL) { |
213 char buf[256], *p = buf; |
213 char buf[256]; |
214 |
214 |
215 /* If we have not found the exactly matching GRF try to find one with the |
215 /* If we have not found the exactly matching GRF try to find one with the |
216 * same grfid, as it most likely is compatible */ |
216 * same grfid, as it most likely is compatible */ |
217 f = FindGRFConfig(c->grfid); |
217 f = FindGRFConfig(c->grfid); |
218 if (f != NULL) { |
218 if (f != NULL) { |