mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-04-12 12:40:02 +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]))
|
if (!FStringNull(m_rgiszAmmo[n]))
|
||||||
{
|
{
|
||||||
#ifdef REGAMEDLL_FIXES
|
#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;
|
continue;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user