summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 91169d30e4..6eb164d800 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4065,12 +4065,12 @@ static bool _bless_weapon( god_type god, int brand, int colour )
enchant_weapon( ENCHANT_TO_HIT, true, you.inv[wpn] );
enchant_weapon( ENCHANT_TO_DAM, true, you.inv[wpn] );
- if ( is_good_god(god) )
+ if ( god == GOD_SHINING_ONE )
{
normal2good(you.inv[wpn]);
if (is_blessed(you.inv[wpn]))
- make_item_randart(you.inv[wpn], false);
+ make_item_randart(you.inv[wpn]);
}
you.wield_change = true;
@@ -4083,7 +4083,7 @@ static bool _bless_weapon( god_type god, int brand, int colour )
mprf( MSGCH_GOD, "Your weapon shines brightly!" );
simple_god_message( " booms: Use this gift wisely!" );
- if ( is_good_god(god) )
+ if ( god == GOD_SHINING_ONE )
{
holy_word( 100, HOLY_WORD_GENERIC, true );
// un-bloodify surrounding squares