diff --git a/cl_dll/health.cpp b/cl_dll/health.cpp index 3bd0892..a204df1 100644 --- a/cl_dll/health.cpp +++ b/cl_dll/health.cpp @@ -202,20 +202,20 @@ int CHudHealth::Draw(float flTime) // Draw old health if(m_iOldHealth > m_iHealth) { - int or,og,ob,oa; + int ohr,ohg,ohb,oha; int iScissorX,iScissorWidth; - oa = 225; + oha = 225; - UnpackRGB(or,og,ob,RGB_YELLOWISH); - ScaleColors(or,og,ob,oa); + UnpackRGB(ohr,ohg,ohb,RGB_YELLOWISH); + ScaleColors(ohr,ohg,ohb,oha); iScissorX = x + iHealthWidth; iScissorWidth = ((prc->right-prc->left) * m_iOldHealth / 100) - iHealthWidth; SPR_EnableScissor(iScissorX,0,iScissorWidth,ScreenHeight); - SPR_Set(gHUD.GetSprite(m_HUD_healthbar),or,og,ob); + SPR_Set(gHUD.GetSprite(m_HUD_healthbar),ohr,ohg,ohb); SPR_DrawAdditive(0,x,y,prc); SPR_DisableScissor();