mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r23159) -Feature: Support for NewGRF version 8.
This commit is contained in:
parent
a47dadf2d2
commit
777b188cd5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user