NPCs without weapons can occasionally crash the game

This issue relates to issue 62411.

If an NPC such as an npc_human_grunt doesn’t have a weapon, and is aggressive towards the player, a crash can occur. The trigger is unknown, however I believe it has to do with attempting to throw a grenade and not null-checking the current weapon.

For reproducibility, see the issue linked at the top.

You can find the crash dump here.
EDIT: You can find the crash dump for public-beta branch here.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.