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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 25045c6546..4d5321ae18 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -1846,7 +1846,7 @@ void behaviour_event(monsters *mon, mon_event_type event, int src,
else if (mon->friendly() && !crawl_state.arena)
mon->foe = MHITYOU;
- if (observe_cell(mon->pos()))
+ if (you.see_cell(mon->pos()))
learned_something_new(TUT_FLEEING_MONSTER);
break;