mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-30 08:59:35 +01:00
(svn r23159) -Feature: Support for NewGRF version 8.
This commit is contained in:
parent
e58d6cbc63
commit
469450e554
@ -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…
Reference in New Issue
Block a user