- fixed: The intermission data was never freed.
SVN r2955 (trunk)
This commit is contained in:
parent
8b63758019
commit
f318653a11
3 changed files with 30 additions and 2 deletions
|
|
@ -47,6 +47,19 @@ static void ReplaceIntermission(FName intname,FIntermissionDescriptor *desc)
|
|||
IntermissionDescriptors[intname] = desc;
|
||||
}
|
||||
|
||||
void DeinitIntermissions()
|
||||
{
|
||||
FIntermissionDescriptorList::Iterator it(IntermissionDescriptors);
|
||||
|
||||
FIntermissionDescriptorList::Pair *pair;
|
||||
|
||||
while (it.NextPair(pair))
|
||||
{
|
||||
delete pair->Value;
|
||||
pair->Value = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FIntermissionAction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue