From d71dda542d451be52af70e907fc17bc05ccb9d5b Mon Sep 17 00:00:00 2001 From: s1lentq Date: Wed, 15 Jun 2016 03:06:13 +0700 Subject: [PATCH] Fixed typo: Not replenished bpammo for the weapons from weaponbox. --- regamedll/dlls/weapons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/weapons.cpp b/regamedll/dlls/weapons.cpp index d49e955d..3b68260c 100644 --- a/regamedll/dlls/weapons.cpp +++ b/regamedll/dlls/weapons.cpp @@ -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