From e87d3c47813d6c9f61e23cedf7f17774b17e15f4 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 29 Oct 2009 20:11:34 -0500 Subject: 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. --- crawl-ref/source/goditem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/goditem.h') 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); -- cgit v1.2.3-54-g00ecf