Sources/CryGame C++/Solution1/CryGame/XDemoMgr.cpp
//////////////////////////////////////////////////////////////////////////
// Check if the end of the demo is reached.

Check if the end of the demo is reached.
Check if the end of the demo is reached .
bool CXDemoMgr::EOD()
{
	if(m_pFile==NULL)
		return true;
	if(ftell(m_pFile)<int(m_nFileSize))
		return false;
	return true;
}
bool CXDemoMgr :: EOD ( ) { if ( m_pFile == NULL ) return true ; if ( ftell ( m_pFile ) < int ( m_nFileSize ) ) return false ; return true ; }
Check if the end of the demo is reached.
Check if the end of the demo is reached .