summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2010-01-02 23:56:35 -0800
committerStefan O'Rear <stefanor@cox.net>2010-01-02 23:56:35 -0800
commit0c24cb671174a71d5beeebc3b039b30495bb894f (patch)
tree2ef818a6e596b80d4ebd407148aaf83cc250a40b /crawl-ref/source/effects.cc
parent2f1d5b4be96c2d4ea174caed479022386d1df12b (diff)
downloadcrawl-ref-0c24cb671174a71d5beeebc3b039b30495bb894f.tar.gz
crawl-ref-0c24cb671174a71d5beeebc3b039b30495bb894f.zip
Rods don't need to block shield acquirement now
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index ac6938ceac..63730af531 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1284,8 +1284,7 @@ static bool _try_give_plain_armour(item_def &arm)
{
const item_def weapon = you.inv[you.equip[EQ_WEAPON]];
const hands_reqd_type hand = hands_reqd(weapon, you.body_size());
- if (hand == HANDS_TWO || item_is_rod(weapon)
- || is_range_weapon(weapon))
+ if (hand == HANDS_TWO || is_range_weapon(weapon))
{
continue;
}