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.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 8e0cc5fb4a..a3b4294c12 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2394,11 +2394,9 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
break;
case DID_KILL_NATURAL_EVIL:
- if (you.religion == GOD_SHINING_ONE)
+ if (you.religion == GOD_SHINING_ONE
+ && !god_hates_attacking_friend(you.religion, victim))
{
- if (god_hates_attacking_friend(you.religion, victim))
- break;
-
simple_god_message(" accepts your kill.");
ret = true;
if (random2(level + 18) > 3)
@@ -2407,11 +2405,9 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
break;
case DID_KILL_CHAOTIC:
- if (you.religion == GOD_ZIN)
+ if (you.religion == GOD_ZIN
+ && !god_hates_attacking_friend(you.religion, victim))
{
- if (god_hates_attacking_friend(you.religion, victim))
- break;
-
simple_god_message(" appreciates your killing of a "
"spawn of chaos.");
ret = true;