Skip to content

Commit

Permalink
Fix burgers
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Jun 20, 2024
1 parent 9a09019 commit deed3f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cl_dll/battery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ int CHudBattery::Draw(float flTime)
// DeanAMX: Flash the armour HUD on zero.

UnpackRGB(r, g, b, RGB_DEFAULT);
if (gEngfuncs.pfnGetCvarPointer("sv_aura_regeneration")->value == 1)
{
//if (gEngfuncs.pfnGetCvarPointer("sv_aura_regeneration")->value == 1) {

if (m_iBat <= 0)
{
Expand Down Expand Up @@ -145,7 +144,7 @@ int CHudBattery::Draw(float flTime)
else
a = MIN_ALPHA;
}
}
//}

ScaleColors(r, g, b, a );

Expand Down

0 comments on commit deed3f6

Please sign in to comment.