From 36e0eb3e369087a95d67f794a8418cf8f247da96 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 9 Sep 2023 03:06:07 +0300 Subject: [PATCH] client: probably somewhere iso646.h got included, I don't want to search where, just rename or and other variables --- cl_dll/health.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();