diff --git a/regamedll/dlls/weapons.cpp b/regamedll/dlls/weapons.cpp index acb3936cf..d14a83ba5 100644 --- a/regamedll/dlls/weapons.cpp +++ b/regamedll/dlls/weapons.cpp @@ -1631,7 +1631,7 @@ int CBasePlayerWeapon::ExtractAmmo(CBasePlayerWeapon *pWeapon) if (pszAmmo2()) { - res = AddSecondaryAmmo(0, (char *)pszAmmo2(), iMaxAmmo2()); + res = pWeapon->AddSecondaryAmmo(0, (char *)pszAmmo2(), iMaxAmmo2()); } return res;