summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-15 16:39:31 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-15 17:22:49 -0400
commite1f089e4d803acad323b702ff29d2f754c6d3641 (patch)
treebf5a644952ce47aa951c7b780959e0acb8f461d0 /crawl-ref/source/invent.cc
parent073eae0ed26fb313dbd3aa0e2cf0a5fa207a1c12 (diff)
downloadcrawl-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/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index ca5f88a018..1f1966704c 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1742,7 +1742,7 @@ bool needs_handle_warning(const item_def &item, operation_types oper)
return true;
}
- if (get_weapon_brand(item) == SPWPN_VAMPIRICISM
+ if (get_weapon_brand(item) == SPWPN_VAMPIRISM
&& !you.is_undead && !crawl_state.game_is_zotdef()
&& !you_foodless())
{