Browse Source

Fix mistake

hlzbot-dirty
mittorn 9 years ago
parent
commit
fcb9d1186d
  1. 2
      dlls/h_battery.cpp

2
dlls/h_battery.cpp

@ -263,7 +263,7 @@ class CMegaCharge: public CRecharge
{ {
m_hActivator->pev->health += 50; m_hActivator->pev->health += 50;
if (m_hActivator->pev->health > 100) if (m_hActivator->pev->health > 100)
m_hActivator->pev->armorvalue = 100; m_hActivator->pev->health = 100;
m_iJuice -= 5; m_iJuice -= 5;
} }
else if (m_hActivator->pev->armorvalue < 200) else if (m_hActivator->pev->armorvalue < 200)

Loading…
Cancel
Save