Sources/CryGame C++/Solution1/CryGame/XArea.cpp
// [marco] functions common for game and editor mode
// to be able to retrigger areas etc.
//////////////////////////////////////////////////////////////////////////

[marco] functions common for game and editor mode
to be able to retrigger areas etc.
[ marco ] functions common for game and editor mode to be able to retrigger areas etc .
void CXGame::CheckSoundVisAreas()
{
	m_XAreaMgr.m_pPrevArea=m_XAreaMgr.m_pCurrArea=NULL;
	if (m_pSystem->GetISoundSystem())	
		m_XAreaMgr.m_pPrevArea=m_pSystem->GetISoundSystem()->GetListenerArea();		
}
void CXGame :: CheckSoundVisAreas ( ) { m_XAreaMgr . m_pPrevArea = m_XAreaMgr . m_pCurrArea = NULL ; if ( m_pSystem -> GetISoundSystem ( ) ) m_XAreaMgr . m_pPrevArea = m_pSystem -> GetISoundSystem ( ) -> GetListenerArea ( ) ; }
[marco] functions common for game and editor mode
to be able to retrigger areas etc.
[ marco ] functions common for game and editor mode to be able to retrigger areas etc .