summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <github@elsenhans.name>2019-03-30 20:56:43 +0100
committerPeterN <peter@fuzzle.org>2019-03-30 19:56:43 +0000
commit0cf25e84df31401a38da462094c8fa576512369e (patch)
treee069dd2d2782397216e6fec4efe8968a714f142e /src
parent3118f1430f67894f85e305946ac25d08a1021203 (diff)
downloadopenttd-0cf25e84df31401a38da462094c8fa576512369e.tar.xz
Fix #7447, 3357cac847: Action 4 has feature 48 'original strings'. (#7449)
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 0a526e50b..0b3a2cc3d 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -5686,7 +5686,7 @@ static void FeatureNewName(ByteReader *buf)
bool new_scheme = _cur.grffile->grf_version >= 7;
uint8 feature = buf->ReadByte();
- if (feature >= GSF_END) {
+ if (feature >= GSF_END && feature != 0x48) {
grfmsg(1, "FeatureNewName: Unsupported feature 0x%02X, skipping", feature);
return;
}