summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-05 15:15:29 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-05 15:15:29 +0000
commite53e9797c7d6b2c1631f40c4606011b1beba9c0d (patch)
treed49fb1de7a9dacdbd148f8bbeb0a462cb2466676
parent7aa4a3c4ab0283fcc1ea883cb99a0493472decd6 (diff)
downloadcrawl-ref-e53e9797c7d6b2c1631f40c4606011b1beba9c0d.tar.gz
crawl-ref-e53e9797c7d6b2c1631f40c4606011b1beba9c0d.zip
Apply trunk r6775 to 0.4.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6776 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/religion.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 2a666be9b3..7268981d02 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -3100,6 +3100,11 @@ bool god_dislikes_item_handling(const item_def &item)
return (true);
}
}
+ else if (item.base_type == OBJ_STAVES
+ && item.sub_type == STAFF_POISON || item.sub_type == STAFF_VENOM)
+ {
+ return (true);
+ }
}
return (false);