From 421babd7402fc7f030768062ad66227d8bd220d0 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sat, 14 Nov 2009 22:55:33 -0800 Subject: Fix some arena asserts. --- crawl-ref/source/mon-behv.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/mon-behv.cc') 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; } -- cgit v1.2.3-54-g00ecf