summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/artefact.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index 7ad0a94b53..f0f097e69b 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -120,6 +120,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)
|| artefact_wpn_property(item, ARTP_CURSED) != 0))
{
return (false);
@@ -181,6 +182,7 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item,
if (artefact_wpn_property(item, ARTP_MAGICAL_POWER))
return (false);
+ break;
default:
break;