diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-29 20:11:34 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-29 20:11:34 -0500 |
commit | e87d3c47813d6c9f61e23cedf7f17774b17e15f4 (patch) | |
tree | 72d93cec3ee652f269865faeb0846673cda844b7 /crawl-ref/source/goditem.h | |
parent | 33606730c0524490181d3c9d63ee947e9179e511 (diff) | |
download | crawl-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.h | 1 |
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); |