diff options
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r-- | crawl-ref/source/artefact.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc index 18d8343723..a311b2ea4a 100644 --- a/crawl-ref/source/artefact.cc +++ b/crawl-ref/source/artefact.cc @@ -46,6 +46,9 @@ 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()) + return (false); + // First check the item's base_type and sub_type, then check the // item's brand and other randart properties. bool type_bad = false; |