- tried to make 'restart' CCMD work again.

This requires quite a bit more thorough cleanup. I got it to the point where the titlepic appears after restarting, but it still crashes when starting the game so there's more data that needs to be cleaned up...
This commit is contained in:
Christoph Oelckers 2015-04-28 16:39:20 +02:00
commit 91b05366d6
4 changed files with 26 additions and 15 deletions

View file

@ -170,6 +170,7 @@ DFsScript::DFsScript()
void DFsScript::Destroy()
{
if (this == global_script) global_script = NULL;
ClearVariables(true);
ClearSections();
ClearChildren();