summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index ee039dec11..68b4633883 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1462,6 +1462,8 @@ void behaviour_event( monsters *mon, int event, int src,
// assume monsters know where to run from, even
// if player is invisible.
setTarget = true;
+ if (see_grid(mon->x, mon->y))
+ learned_something_new(TUT_FLEEING_MONSTER);
break;
case ME_CORNERED: