summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-20 14:39:11 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-20 14:39:11 +0100
commit249e014a29786798ee83cd33d661f17b8aec176b (patch)
tree3c20f71af89bfe03a8e01c6fed152fffd12bcf1e /crawl-ref/source/item_use.cc
parent948af24915dbdb673b1d45c02b416c2c557c9bd1 (diff)
downloadcrawl-ref-249e014a29786798ee83cd33d661f17b8aec176b.tar.gz
crawl-ref-249e014a29786798ee83cd33d661f17b8aec176b.zip
Fix mummies being unable to use vampiric weapons (in line with the FR
and former behaviour).
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 4bd5082d00..8e70a848f8 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -176,7 +176,7 @@ bool can_wield(item_def *weapon, bool say_reason,
if (you.hunger_state < HS_FULL
&& get_weapon_brand(*weapon) == SPWPN_VAMPIRICISM
- && you.species != SP_VAMPIRE)
+ && you.species != SP_VAMPIRE && you.species != SP_MUMMY)
{
if (say_reason)
{