summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}