summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-08 17:30:19 +0000
committerfrosch <frosch@openttd.org>2011-11-08 17:30:19 +0000
commit469450e5544bb2f30419ff1dfacfcac6bbf6c438 (patch)
treed1b0dfaafa7a64e40b8b445f3d55b0753d4e0069
parente58d6cbc63653aed6a24d95fc61dc6f6d7396a67 (diff)
downloadopenttd-469450e5544bb2f30419ff1dfacfcac6bbf6c438.tar.xz
(svn r23159) -Feature: Support for NewGRF version 8.
-rw-r--r--src/newgrf.cpp2
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);
}