Fatal crash when failing to define sprite frames in zscript

Wed Aug 18, 2021 1:28 pm

Really easy to reproduce, just include this actor in ZScript:

Code:
Class CrashingActor : Actor
{
   states
   {
      spawn:
   }
}


This is obviously more the fault of the developer than it is GZDoom, but this would be better off if it reported a syntax error instead of a fatal crash. Accidentally had this in one of my projects, stepped away for a moment, and was then unable to find the source of it for a good chunk of time.