|
|
|
@ -226,14 +226,14 @@ int CHudHealth::Draw( float flTime )
@@ -226,14 +226,14 @@ int CHudHealth::Draw( float flTime )
|
|
|
|
|
|
|
|
|
|
x = CrossWidth + HealthWidth / 2; |
|
|
|
|
|
|
|
|
|
x = gHUD.DrawHudNumber( x, y, DHN_3DIGITS | DHN_DRAWZERO, m_iHealth, r, g, b ); |
|
|
|
|
x = gHUD.DrawHudNumber( x, y + gHUD.m_iHudNumbersYOffset, DHN_3DIGITS | DHN_DRAWZERO, m_iHealth, r, g, b ); |
|
|
|
|
|
|
|
|
|
x += HealthWidth / 2; |
|
|
|
|
|
|
|
|
|
int iHeight = gHUD.m_iFontHeight; |
|
|
|
|
int iWidth = HealthWidth / 10; |
|
|
|
|
UnpackRGB( r, g, b, RGB_YELLOWISH ); |
|
|
|
|
FillRGBA( x, y, iWidth, iHeight, r, g, b, a ); |
|
|
|
|
FillRGBA( x, y + gHUD.m_iHudNumbersYOffset, iWidth, iHeight, r, g, b, a ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
DrawDamage( flTime ); |
|
|
|
|