This commit is contained in:
Paul 2001-02-09 17:31:20 +00:00
parent e7eda79d3d
commit d08a019143

View File

@ -160,8 +160,9 @@ void CConversation::init()
---------------------------------------------------------------------- */
void CConversation::shutdown()
{
s_fontBank->dump(); delete s_fontBank;
dumpConversationScripts();
s_guiFrame->shutdown(); delete s_guiFrame;
s_guiFrame->shutdown();
}
@ -418,6 +419,7 @@ void CConversation::dumpConversationScripts()
for(i=0;i<s_numRegisteredScripts;i++)
{
s_registeredScripts[i]->dump();
delete s_registeredScripts[i];
}
s_currentScript=NULL;
s_numRegisteredScripts=0;