- fixed: The TouchedActors array in the Dehacked parser was not freed after parsing was done.
- Initialize the alt HUD explicitly in D_DoomMain. - don't let S_UnloadReverbDef leave a broken list of sound environments behind. - Added more code to explicitly delete data before initializing it. SVN r3039 (trunk)
This commit is contained in:
parent
22372fff25
commit
770a879f6a
25 changed files with 156 additions and 38 deletions
|
|
@ -44,6 +44,7 @@
|
|||
#include "w_wad.h"
|
||||
|
||||
TArray<FKeySection> KeySections;
|
||||
extern TArray<FString> KeyConfWeapons;
|
||||
|
||||
static void LoadKeys (const char *modname, bool dbl)
|
||||
{
|
||||
|
|
@ -159,6 +160,7 @@ void D_LoadWadSettings ()
|
|||
|
||||
ParsingKeyConf = true;
|
||||
KeySections.Clear();
|
||||
KeyConfWeapons.Clear();
|
||||
|
||||
while ((lump = Wads.FindLump ("KEYCONF", &lastlump)) != -1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue