diff options
-rw-r--r-- | crawl-ref/source/artefact.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc index a311b2ea4a..7ad0a94b53 100644 --- a/crawl-ref/source/artefact.cc +++ b/crawl-ref/source/artefact.cc @@ -46,7 +46,8 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item, if (which_god == GOD_NO_GOD) return (false); - if (which_god == GOD_JIYVA && jiyva_is_dead()) + // Jellies can't eat artefacts, so their god won't make any. + if (which_god == GOD_JIYVA) return (false); // First check the item's base_type and sub_type, then check the @@ -1146,7 +1147,7 @@ static bool _init_artefact_book(item_def &book) god_type god; bool redo = (!origin_is_god_gift(book, &god) || god != GOD_XOM); - // Plus and plus2 contain paramaters to make_book_foo_randart() + // Plus and plus2 contain parameters to make_book_foo_randart() // which might get changed after the book has been made into a // randart, so reset them on each iteration of the loop. int plus = book.plus; |