Fix equip_undead() to make stupid undead not pick up alternate weapons

again. Since monsters::pickup_item() may change the slot a weapon goes into, and includes checks with regard to picking up two melee weapons or two ranged weapons, check both the weapon and alternate weapon slots, and only fill both if the monster can wield two weapons or is a smart undead.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8665 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dolorous  on January 21, 2009
OXXZSXR7UXHLKZSCBFPYAKY27COCXK2HICNV5ZPDQ3LUQ6SOGXXAC
Change contents