diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/randart.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index fc5007140b..e790d565cd 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -117,6 +117,7 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item, else if (is_good_god(which_god) && (brand == SPWPN_DRAINING || brand == SPWPN_PAIN || brand == SPWPN_VAMPIRICISM + || is_demonic(item) || randart_wpn_property(item, RAP_CURSED) != 0)) { return (false); @@ -178,6 +179,7 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item, if (randart_wpn_property(item, RAP_MAGICAL_POWER)) return (false); + break; default: break; |