summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-02 18:28:41 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-02 18:28:41 -0700
commit8a89d76ea67453d169c1e2047434dafd53a87f33 (patch)
treee8bb806724945a14662b1054eedba5c687079f6a /crawl-ref/source/invent.cc
parenteac59a0f5b8b4f9a38753fdc900c191db336edd8 (diff)
downloadcrawl-ref-8a89d76ea67453d169c1e2047434dafd53a87f33.tar.gz
crawl-ref-8a89d76ea67453d169c1e2047434dafd53a87f33.zip
Don't prompt when removing =faith under Xom (minmay)
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index bc581d72ae..c7abc55e0d 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -1719,7 +1719,8 @@ bool needs_handle_warning(const item_def &item, operation_types oper)
if (oper == OPER_REMOVE
&& item.base_type == OBJ_JEWELLERY
&& item.sub_type == AMU_FAITH
- && !you_worship(GOD_NO_GOD))
+ && !you_worship(GOD_NO_GOD)
+ && !you_worship(GOD_XOM))
{
return true;
}