diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-06-15 16:39:31 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-06-15 17:22:49 -0400 |
commit | e1f089e4d803acad323b702ff29d2f754c6d3641 (patch) | |
tree | bf5a644952ce47aa951c7b780959e0acb8f461d0 /crawl-ref/source/xom.cc | |
parent | 073eae0ed26fb313dbd3aa0e2cf0a5fa207a1c12 (diff) | |
download | crawl-ref-e1f089e4d803acad323b702ff29d2f754c6d3641.tar.gz crawl-ref-e1f089e4d803acad323b702ff29d2f754c6d3641.zip |
Rename "vampiricism" to "vampirism" (ChrisOelmueller, #8435)
Chris Oelmueller made an excellent patch for this, but unfortunately it
was rather rotted by the time somebody decided to look at it. It was
easier to recreate than update. I've also added some tiles stuff which
was missed in the original patch.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index e1f9049691..c1368922ea 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -1414,7 +1414,7 @@ static int _xom_swap_weapons(bool debug = false) && !(weapon.flags & ISFLAG_SUMMONED) && you.can_wield(weapon, true) && mi->can_wield(*wpn, true) && get_weapon_brand(weapon) != SPWPN_DISTORTION - && (get_weapon_brand(weapon) != SPWPN_VAMPIRICISM + && (get_weapon_brand(weapon) != SPWPN_VAMPIRISM || you.is_undead || you.hunger_state >= HS_FULL) && (!is_artefact(weapon) || _art_is_safe(weapon))) { |