(svn r23159) -Feature: Support for NewGRF version 8.

pull/155/head
frosch 13 years ago
parent a47dadf2d2
commit 777b188cd5

@ -5906,7 +5906,7 @@ static void ScanInfo(ByteReader *buf)
_cur.grfconfig->ident.grfid = grfid; _cur.grfconfig->ident.grfid = grfid;
if (grf_version < 2 || grf_version > 7) { if (grf_version < 2 || grf_version > 8) {
SetBit(_cur.grfconfig->flags, GCF_INVALID); SetBit(_cur.grfconfig->flags, GCF_INVALID);
DEBUG(grf, 0, "%s: NewGRF \"%s\" (GRFID %08X) uses GRF version %d, which is incompatible with this version of OpenTTD.", _cur.grfconfig->filename, name, BSWAP32(grfid), grf_version); DEBUG(grf, 0, "%s: NewGRF \"%s\" (GRFID %08X) uses GRF version %d, which is incompatible with this version of OpenTTD.", _cur.grfconfig->filename, name, BSWAP32(grfid), grf_version);
} }

Loading…
Cancel
Save