Fix CL_IsDead

This commit is contained in:
mittorn 2016-04-17 13:21:56 +00:00
parent 5525fe754b
commit db242eaf07
2 changed files with 5 additions and 3 deletions

View File

@ -560,7 +560,9 @@ CL_IsDead
Returns 1 if health is <= 0
============
*/
bool CL_IsDead( void )
bool CL_IsDead()
{
return gHUD.m_Health.m_iHealth <= 0;
if( gHUD.m_Health.m_iHealth <= 0 )
return true;
return false;
}

View File

@ -41,7 +41,7 @@ extern "C"
}
void COM_Log( char *pszFile, char *fmt, ...);
int CL_IsDead( void );
bool CL_IsDead();
float UTIL_SharedRandomFloat( unsigned int seed, float low, float high );
int UTIL_SharedRandomLong( unsigned int seed, int low, int high );