- fixed infinite loop reporting '... before first state' errors

https://forum.zdoom.org/viewtopic.php?t=67729
This commit is contained in:
alexey.lysiuk 2020-03-05 11:01:33 +02:00
parent 178cf40428
commit fcf004ec39
1 changed files with 0 additions and 2 deletions

View File

@ -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;