mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-10 20:41:49 +00:00
Fix mistake
This commit is contained in:
parent
356cfaac53
commit
fcb9d1186d
@ -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…
x
Reference in New Issue
Block a user