TRoss::~TRoss () { m_Domens.clear(); ClearFields (); ClearUnits(); ClearCorteges (); }
void TRoss::BuildUnits() { ClearUnits(); if (IsBinFile (UnitsFile)) ReadVector<CStructEntry>(UnitsFile, m_Units); }
CGroup::~CGroup() { ClearUnits(); //shouldnt have any units left but just to be sure if(ai) ReleaseAI(currentAiKey.aiNumber,ai); if(lib) delete lib; delete callback; }
CGroup::~CGroup() { // should not have any units left, but just to be sure ClearUnits(); }