Fixed typo: Not replenished bpammo for the weapons from weaponbox.

This commit is contained in:
s1lentq 2016-06-15 03:06:13 +07:00
parent 2132203504
commit d71dda542d

View File

@ -1833,7 +1833,7 @@ void CWeaponBox::__MAKE_VHOOK(Touch)(CBaseEntity *pOther)
if (!FStringNull(m_rgiszAmmo[n]))
{
#ifdef REGAMEDLL_FIXES
if (m_rgAmmo[n] < MaxAmmoCarry(m_rgiszAmmo[n]))
if (FStrEq(STRING(m_rgiszAmmo[n]), "Flashbang") && m_rgAmmo[n] < MaxAmmoCarry(m_rgiszAmmo[n]))
continue;
#endif