diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-11 20:33:00 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-11 20:33:00 +0000 |
commit | 4a36706dfc155fbf554767e537451a8a037b209b (patch) | |
tree | 93ed96e994c945144c96dfdf5454681f089418c3 | |
parent | d5fd5e1adaba3e57477d5b6a96ad7c4795dc347b (diff) | |
download | crawl-ref-4a36706dfc155fbf554767e537451a8a037b209b.tar.gz crawl-ref-4a36706dfc155fbf554767e537451a8a037b209b.zip |
Jellies shouldn't eat artifacts of any kind.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@836 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/monstuff.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 8d1b061b83..d5c81b3399 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -3962,8 +3962,9 @@ static bool handle_pickup(struct monsters *monster) { int quant = mitm[item].quantity; - // don't eat fixed artefacts - if (is_fixed_artefact( mitm[item] )) + // don't eat artefacts (note that unrandarts are randarts) + if (is_fixed_artefact(mitm[item]) || + is_random_artefact(mitm[item])) continue; // shouldn't eat stone things |