- Moved Strife conversation data into FLevelLocals.
This commit is contained in:
parent
0e5986769e
commit
0a6b6173de
10 changed files with 91 additions and 82 deletions
|
|
@ -263,6 +263,16 @@ void FLevelLocals::ClearLevelData()
|
|||
total_monsters = total_items = total_secrets =
|
||||
killed_monsters = found_items = found_secrets =
|
||||
wminfo.maxfrags = 0;
|
||||
|
||||
FStrifeDialogueNode *node;
|
||||
|
||||
while (StrifeDialogues.Pop (node))
|
||||
{
|
||||
delete node;
|
||||
}
|
||||
|
||||
DialogueRoots.Clear();
|
||||
ClassRoots.Clear();
|
||||
|
||||
// delete allocated data in the level arrays.
|
||||
if (sectors.Size() > 0)
|
||||
|
|
@ -342,7 +352,6 @@ void P_FreeLevelData ()
|
|||
SN_StopAllSequences ();
|
||||
DThinker::DestroyAllThinkers ();
|
||||
|
||||
P_FreeStrifeConversations ();
|
||||
level.ClearLevelData();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue