mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- fixed infinite loop reporting '... before first state' errors
https://forum.zdoom.org/viewtopic.php?t=67729
This commit is contained in:
parent
673e52f02f
commit
5946744039
1 changed files with 0 additions and 2 deletions
|
@ -3411,7 +3411,6 @@ void ZCCCompiler::CompileStates()
|
|||
if (!statedef.SetWait())
|
||||
{
|
||||
Error(st, "%s before first state", st->NodeType == AST_StateFail ? "Fail" : "Wait");
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -3419,7 +3418,6 @@ void ZCCCompiler::CompileStates()
|
|||
if (!statedef.SetLoop())
|
||||
{
|
||||
Error(st, "LOOP before first state");
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue