Try to fix armor bug

This commit is contained in:
a1batross 2016-02-26 01:10:10 +03:00
parent b498c6844c
commit 53e3cf4dc9
2 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ int CHudBattery::VidInit( void )
return 1;
}
void CHudBattery::Reset( void )
void CHudBattery::InitHUDData( void )
{
m_enArmorType = Vest;
}

View File

@ -506,7 +506,7 @@ public:
int Init( void );
int VidInit( void );
int Draw(float flTime);
void Reset( void );
void InitHUDData( void );
CHudMsgFunc(Battery);
CHudMsgFunc(ArmorType);
@ -681,9 +681,9 @@ private:
int m_iBlinkAmt;
float m_fBlinkTime;
float m_fFade;
HSPRITE m_HUD_dollar;
HSPRITE m_HUD_minus;
HSPRITE m_HUD_plus;
CClientSprite m_hDollar;
CClientSprite m_hPlus;
CClientSprite m_hMinus;
};
//
//-----------------------------------------------------