summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index fc5e45d55c..7548436fbb 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -4123,6 +4123,7 @@ bool melee_attack::mons_attack_mons()
// set explicitly by the player during sanctuary).
if (perceived_attack && attacker->alive()
&& mons_friendly(defender_as_monster())
+ && !crawl_state.arena
&& !mons_wont_attack(attacker_as_monster())
&& you.pet_target == MHITNOT
&& env.sanctuary_time <= 0)