diff options
Diffstat (limited to 'src')
-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 5e6622ac0..bde9037e6 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -6697,7 +6697,7 @@ static bool HandleParameterInfo(ByteReader *buf) uint32 id = buf->ReadDWord(); if (type != 'C' || id >= _cur_grfconfig->num_valid_params) { grfmsg(2, "StaticGRFInfo: all child nodes of 'INFO'->'PARA' should have type 'C' and their parameter number as id"); - if (!SkipUnknownInfo(buf, type)) return false; + return SkipUnknownInfo(buf, type); } if (id >= _cur_grfconfig->param_info.Length()) { |