game/client/clientmode_shared.cpp
bool ClientModeShared::ShouldDrawLocalPlayer( C_BasePlayer *pPlayer )
{
	if ( pPlayer->IsViewEntity() && !pPlayer->ShouldDrawLocalPlayer() )
		return false;

	return true;
}
//-----------------------------------------------------------------------------
// Purpose: Don't draw the current view entity if we are not in 3rd person
//-----------------------------------------------------------------------------
Don't draw the current view entity if we are not in 3rd person
Don ' t draw the current view entity if we are not in 3rd person
bool ClientModeShared::ShouldDrawLocalPlayer( C_BasePlayer *pPlayer )
{
	if ( pPlayer->IsViewEntity() && !pPlayer->ShouldDrawLocalPlayer() )
		return false;
	return true;
}
bool ClientModeShared :: ShouldDrawLocalPlayer ( C_BasePlayer * pPlayer ) { if ( pPlayer -> IsViewEntity ( ) && ! pPlayer -> ShouldDrawLocalPlayer ( ) ) return false ; return true ; }
Purpose: Don't draw the current view entity if we are not in 3rd person
Purpose : Don ' t draw the current view entity if we are not in 3rd person