Fix CL_IsDead
This commit is contained in:
parent
5525fe754b
commit
db242eaf07
@ -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;
|
||||
}
|
||||
|
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user