Sources/CryGame C++/Solution1/CryGame/GameMisc.cpp
//////////////////////////////////////////////////////////////////////
//! Retrieve the local player-entity

Retrieve the local player-entity
Retrieve the local player - entity
IEntity *CXGame::GetMyPlayer()
{
	if (m_pClient)
		return m_pClient->m_pISystem->GetLocalPlayer();
	return NULL;
}
IEntity * CXGame :: GetMyPlayer ( ) { if ( m_pClient ) return m_pClient -> m_pISystem -> GetLocalPlayer ( ) ; return NULL ; }
Retrieve the local player-entity
Retrieve the local player - entity