diff options
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 47ce1aac54..8e1d8623bc 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -4089,7 +4089,7 @@ int melee_attack::mons_to_hit() static bool wielded_weapon_check(const item_def *weapon) { bool result = true; - if (!you.received_weapon_warning && !you.duration[DUR_CONF] + if (!you.received_weapon_warning && !you.confused() && (weapon && weapon->base_type != OBJ_STAVES && (weapon->base_type != OBJ_WEAPONS || is_range_weapon(*weapon)) || you.attribute[ATTR_WEAPON_SWAP_INTERRUPTED])) |