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 763f1c0709..3a0c43fb0f 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2683,7 +2683,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
}
if (thing_done == DID_ATTACK_HOLY && victim
- && !testbits(victim->flags, MF_CREATED_FRIENDLY)
+ && !testbits(victim->flags, MF_NO_REWARD)
&& !testbits(victim->flags, MF_WAS_NEUTRAL))
{
break;
@@ -3029,7 +3029,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_SHINING_ONE:
case GOD_ELYVILON:
if (victim
- && !testbits(victim->flags, MF_CREATED_FRIENDLY)
+ && !testbits(victim->flags, MF_NO_REWARD)
&& !testbits(victim->flags, MF_WAS_NEUTRAL))
{
break;
@@ -3097,7 +3097,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case GOD_SHINING_ONE:
case GOD_ELYVILON:
if (victim
- && !testbits(victim->flags, MF_CREATED_FRIENDLY)
+ && !testbits(victim->flags, MF_NO_REWARD)
&& !testbits(victim->flags, MF_WAS_NEUTRAL))
{
break;