NetHack 2.2a/wield.c