Sources/CryGame C++/Solution1/CryGame/GameActionInput.cpp
//////////////////////////////////////////////////////////////////////
// Check if a action is triggered.

Check if a action is triggered.
Check if a action is triggered .
bool CXGame::CheckForAction(const char *sAction)
{
	ActionsEnumMapItor itor;
	itor=m_mapActionsEnum.find(sAction);
	if(itor==m_mapActionsEnum.end())
		return false;
	if(m_pIActionMapManager->CheckActionMap(itor->second.nId))
		return true;
	return false;
}
bool CXGame :: CheckForAction ( const char * sAction ) { ActionsEnumMapItor itor ; itor = m_mapActionsEnum . find ( sAction ) ; if ( itor == m_mapActionsEnum . end ( ) ) return false ; if ( m_pIActionMapManager -> CheckActionMap ( itor -> second . nId ) ) return true ; return false ; }
Check if a action is triggered.
Check if a action is triggered .
// find action
 // triggered ?
