The proper title should be: "GZDoom calls event handlers while trying to load a save file with unknown classes".
While attempting to load a save file that has references to unknown class types, GZDoom will try to call local event handlers that are present in the save file. This can lead to unexpected ZScript errors popping up because these handlers don't seem to be initialized properly.
Steps to reproduce:
- Download test1.wad and run it with Doom II MAP01.
- Save the game and quit.
- Download test2.wad and run GZDoom with it.
- Load the save file that was made on step 2. GZDoom will print some messages to the console, and the last line will be "OnRegister". This message is produced by the TestEventHandler that is present in the save file. Note that GZDoom will also crash, though it is probably due to a different issue.