- another attempt to fix game end crash for ultifd

This commit is contained in:
Mark Vejvoda
2010-08-04 16:56:24 +00:00
parent bc3e6bc64e
commit c63283ffac
5 changed files with 36 additions and 1 deletions

View File

@@ -344,7 +344,12 @@ void Program::setState(ProgramState *programState, bool cleanupOldState)
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
delete this->programState;
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
this->programState = NULL;
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
}
}