Sources/CryGame C++/Solution1/CryGame/GameTagPoints.cpp
//////////////////////////////////////////////////////////////////////////
//! Remove all tag-points from the list

Remove all tag-points from the list
Remove all tag - points from the list
void CXGame::ClearTagPoints()
{
	if (!m_mapTagPoints.empty())
	{
		TagPointMap::iterator ti;
		for (ti=m_mapTagPoints.begin();ti!=m_mapTagPoints.end();ti++)
			(ti->second)->Release();
		m_mapTagPoints.clear();
	}
	if(m_pServer)m_pServer->ClearRespawnPoints();
}
void CXGame :: ClearTagPoints ( ) { if ( ! m_mapTagPoints . empty ( ) ) { TagPointMap :: iterator ti ; for ( ti = m_mapTagPoints . begin ( ) ; ti != m_mapTagPoints . end ( ) ; ti ++ ) ( ti -> second ) -> Release ( ) ; m_mapTagPoints . clear ( ) ; } if ( m_pServer ) m_pServer -> ClearRespawnPoints ( ) ; }
Remove all tag-points from the list
Remove all tag - points from the list