mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 22:31:17 +00:00
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:
parent
5f137955ac
commit
2dc2d3adb5
1 changed files with 1 additions and 0 deletions
|
@ -1782,6 +1782,7 @@ idDeclLocal::idDeclLocal( void ) {
|
|||
everReferenced = false;
|
||||
redefinedInReload = false;
|
||||
nextInFile = NULL;
|
||||
self = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue