summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-12 21:45:59 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-12 21:45:59 +0000
commit79c8875dd3844dcc3a027013d536b6d10ddc8480 (patch)
tree9324a33442c518451bea521cd0d0a9663abd63d8 /crawl-ref/source/effects.cc
parent15a055a3c2c8b2d5dea8c4219ebeb03992c7340f (diff)
downloadcrawl-ref-79c8875dd3844dcc3a027013d536b6d10ddc8480.tar.gz
crawl-ref-79c8875dd3844dcc3a027013d536b6d10ddc8480.zip
A few tiny changes courtesy of dolorous.
1811785: mummy food/drink checks changed to US_UNDEAD check 1811735: vampires don't get holy weapons from acquirement 1811249: remove redundant poison resistance check for Ghouls 1810890: very minor comment fix git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2449 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 77e3a93bcc..931f61498f 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -1449,6 +1449,7 @@ bool acquirement(object_class_type class_wanted, int agent)
case SP_DEMONSPAWN:
case SP_MUMMY:
case SP_GHOUL:
+ case SP_VAMPIRE:
{
int brand = get_weapon_brand( thing );
if (brand == SPWPN_HOLY_WRATH