summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-behv.cc')
-rw-r--r--crawl-ref/source/mon-behv.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 01be99300a..8b4956a8a9 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -1458,8 +1458,11 @@ void handle_behaviour(monsters *mon)
// Foe gone out of LOS?
if (!proxFoe)
{
- if ((isFriendly || proxPlayer) && !isNeutral && !patrolling)
+ if ((isFriendly || proxPlayer) && !isNeutral && !patrolling
+ && !crawl_state.arena)
+ {
new_foe = MHITYOU;
+ }
else
new_beh = BEH_WANDER;
}