summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 05fd90a2f7..5b19bb4a44 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -723,13 +723,7 @@ void equip_undead(const coord_def &a, int corps, int monster, int monnum)
const bool alt_weapon = mon->inv[MSLOT_ALT_WEAPON] != NON_ITEM;
if ((weapon && !alt_weapon) || (!weapon && alt_weapon))
- {
- // Stupid undead can't switch between weapons.
- if (mons_wields_two_weapons(mon) || smart_undead)
- mslot = !weapon ? MSLOT_WEAPON : MSLOT_ALT_WEAPON;
- else
- continue;
- }
+ mslot = !weapon ? MSLOT_WEAPON : MSLOT_ALT_WEAPON;
else
mslot = MSLOT_WEAPON;
break;