mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 08:31:45 +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)
|
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);
|
sc.ScriptError("Unexpected end of file in %s definition", block);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue