diff options
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index d5ee3b2243..9471d21190 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -51,9 +51,10 @@ static bool _god_fits_artefact(const god_type which_god, const item_def &item) if (is_evil_god(which_god) && brand == SPWPN_HOLY_WRATH) return (false); - else if (is_good_god(which_god) && (brand == SPWPN_DRAINING - || brand == SPWPN_PAIN || brand == SPWPN_VAMPIRICISM - || randart_wpn_property(item, RAP_CURSED) != 0)) + else if (is_good_god(which_god) + && (brand == SPWPN_DRAINING || brand == SPWPN_PAIN + || brand == SPWPN_VAMPIRICISM + || randart_wpn_property(item, RAP_CURSED) != 0)) { return (false); } |