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

This commit is contained in:
frosch 2011-11-08 17:30:19 +00:00
parent a47dadf2d2
commit 777b188cd5

View File

@ -5906,7 +5906,7 @@ static void ScanInfo(ByteReader *buf)
_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);
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);
}