mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
Remove unnecessary check for the ending brace.
This commit is contained in:
parent
243787d19a
commit
211bd0b1b0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue