Remove unnecessary check for the ending brace.

This commit is contained in:
Christoph Oelckers 2018-06-18 08:51:33 +02:00
parent 243787d19a
commit 211bd0b1b0
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ void FMapInfoParser::SkipToNext()
void FMapInfoParser::CheckEndOfFile(const char *block)
{
if (format_type == FMT_New && (sc.End || !sc.Compare("}")))
if (format_type == FMT_New && sc.End)
{
sc.ScriptError("Unexpected end of file in %s definition", block);
}