mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
Fixed typo: Not replenished bpammo for the weapons from weaponbox.
This commit is contained in:
parent
2132203504
commit
d71dda542d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user