summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-03 11:18:38 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-03 11:18:38 +0000
commiteedaf28e2ab8dfae0eaae2fc308bdf683bf57021 (patch)
treeeb11a2761cff92772c4e13beb408cedbb2ad8dfb /crawl-ref/source/fight.cc
parentde61f774d4b9787e998a24d966b45b5a211761dc (diff)
downloadcrawl-ref-eedaf28e2ab8dfae0eaae2fc308bdf683bf57021.tar.gz
crawl-ref-eedaf28e2ab8dfae0eaae2fc308bdf683bf57021.zip
Staves aren't clumsy (Darshan.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1727 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 03208d6976..f938562d72 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -3195,7 +3195,7 @@ int melee_attack::mons_to_hit()
static void wielded_weapon_check(const item_def *weapon)
{
if (you.received_weapon_warning == false &&
- weapon &&
+ weapon && weapon->base_type != OBJ_STAVES &&
(weapon->base_type != OBJ_WEAPONS || is_range_weapon(*weapon)))
{
mpr("You might want to wield a more suitable implement when "