Fix "Save as" in Particle Editor

In idDeclManagerLocal::CreateNewDecl() decl->self->DefaultDefinition();
crashed because self was uninitialized.
Now it gets set to NULL in the constructor and initialized to something
sensible in decl->AllocateSelf();

this is part of #378
This commit is contained in:
Daniel Gibson 2021-05-08 21:04:51 +02:00
parent 5f137955ac
commit 2dc2d3adb5

View file

@ -1782,6 +1782,7 @@ idDeclLocal::idDeclLocal( void ) {
everReferenced = false;
redefinedInReload = false;
nextInFile = NULL;
self = NULL;
}
/*