mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- fixed infinite loop reporting '... before first state' errors
https://forum.zdoom.org/viewtopic.php?t=67729
This commit is contained in:
parent
178cf40428
commit
fcf004ec39
1 changed files with 0 additions and 2 deletions
|
@ -3407,7 +3407,6 @@ void ZCCCompiler::CompileStates()
|
|||
if (!statedef.SetWait())
|
||||
{
|
||||
Error(st, "%s before first state", st->NodeType == AST_StateFail ? "Fail" : "Wait");
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -3415,7 +3414,6 @@ void ZCCCompiler::CompileStates()
|
|||
if (!statedef.SetLoop())
|
||||
{
|
||||
Error(st, "LOOP before first state");
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue