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.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 6868d90386..01be99300a 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -1041,8 +1041,7 @@ void handle_behaviour(monsters *mon)
}
// Make sure monsters are not targetting the player in arena mode.
- if (crawl_state.arena && mon->foe == MHITYOU)
- mon->foe = MHITNOT;
+ ASSERT(!(crawl_state.arena && mon->foe == MHITYOU));
if (mons_wall_shielded(mon) && cell_is_solid(mon->pos()))
{