1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 00:49:11 +00:00

Fix #7447, 3357cac847: Action 4 has feature 48 'original strings'. (#7449)

This commit is contained in:
frosch
2019-03-30 20:56:43 +01:00
committed by PeterN
parent d3e9e8c2ce
commit 54451a18c6

View File

@@ -5688,7 +5688,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;
}