diff options
author | frosch <frosch@openttd.org> | 2011-11-08 17:30:19 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-08 17:30:19 +0000 |
commit | 469450e5544bb2f30419ff1dfacfcac6bbf6c438 (patch) | |
tree | d1b0dfaafa7a64e40b8b445f3d55b0753d4e0069 | |
parent | e58d6cbc63653aed6a24d95fc61dc6f6d7396a67 (diff) | |
download | openttd-469450e5544bb2f30419ff1dfacfcac6bbf6c438.tar.xz |
(svn r23159) -Feature: Support for NewGRF version 8.
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index f158f8b17..72e977106 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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); } |