|
|
@ -72,7 +72,7 @@ DECLARE_HUDELEMENT( CHudHealth ); |
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Purpose: Constructor
|
|
|
|
// Purpose: Constructor
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
CHudHealth::CHudHealth( const char *pElementName ) : CHudElement( pElementName ), CHudNumericDisplay(NULL, "HudHealth") |
|
|
|
CHudHealth::CHudHealth( const char *pElementName ) : CHudElement( pElementName ), CHudNumericDisplay(NULL, "HudHealth"), m_pHealthIcon( NULL ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
SetHiddenBits( HIDEHUD_HEALTH | HIDEHUD_PLAYERDEAD ); |
|
|
|
SetHiddenBits( HIDEHUD_HEALTH | HIDEHUD_PLAYERDEAD ); |
|
|
|
} |
|
|
|
} |
|
|
@ -172,4 +172,4 @@ void CHudHealth::Paint( void ) |
|
|
|
|
|
|
|
|
|
|
|
//draw the health icon
|
|
|
|
//draw the health icon
|
|
|
|
BaseClass::Paint(); |
|
|
|
BaseClass::Paint(); |
|
|
|
} |
|
|
|
} |
|
|
|