summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 163255ea2e..5d3e01675f 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2724,10 +2724,10 @@ bool stop_attack_prompt(const monsters *mon, bool beam_attack,
prompt = true;
}
else if (inSanctuary || wontAttack
- || is_good_god(you.religion) && (isNeutral || isHoly)
- || you.religion == GOD_SHINING_ONE
- && !tso_unchivalric_attack_safe_monster(mon)
- && isUnchivalric)
+ || (isNeutral || isHoly) && is_good_god(you.religion)
+ || isUnchivalric
+ && you.religion == GOD_SHINING_ONE
+ && !tso_unchivalric_attack_safe_monster(mon))
{
// "Really fire through the helpless neutral holy Daeva?"
// was: "Really fire through this helpless neutral holy creature?"