summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/goditem.h
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-29 20:11:34 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-29 20:11:34 -0500
commite87d3c47813d6c9f61e23cedf7f17774b17e15f4 (patch)
tree72d93cec3ee652f269865faeb0846673cda844b7 /crawl-ref/source/goditem.h
parent33606730c0524490181d3c9d63ee947e9179e511 (diff)
downloadcrawl-ref-e87d3c47813d6c9f61e23cedf7f17774b17e15f4.tar.gz
crawl-ref-e87d3c47813d6c9f61e23cedf7f17774b17e15f4.zip
Fix check for good gods' and Feawn's disliking weapons of chaos so that
it actually works. Note that the first of these is no longer in good_god_hates_item_handling(), as weapons of chaos are only potentially evil. Also, add wands of random effects to the list of potentially evil items, as they might as well be wands of chaos.
Diffstat (limited to 'crawl-ref/source/goditem.h')
-rw-r--r--crawl-ref/source/goditem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/goditem.h b/crawl-ref/source/goditem.h
index 2fe6916bd5..5c30390c39 100644
--- a/crawl-ref/source/goditem.h
+++ b/crawl-ref/source/goditem.h
@@ -11,6 +11,7 @@
#include "spl-util.h"
bool is_holy_item(const item_def& item);
+bool is_potentially_evil_item(const item_def& item);
bool is_evil_item(const item_def& item);
bool is_chaotic_item(const item_def& item);
bool is_holy_discipline(int discipline);