// SectorEffectMap.cpp: implementation of the CSectorEffectMap class. // ////////////////////////////////////////////////////////////////////// #include "SectorEffectMap.h" #include "GMMemory.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CSectorEffectMap::CSectorEffectMap() { Sector_EffectNum = 0; pick_index = -1; } CSectorEffectMap::~CSectorEffectMap() { int i; for(i=0;i<(int)m_strEffectName.size();i++) { if(m_strEffectName[i]) delete[] m_strEffectName[i]; } m_strEffectName.clear(); //for(i=0;i