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.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 580bec1dcf..7b610c54dd 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4777,8 +4777,8 @@ static void _handle_movement(monsters *monster)
if (crawl_state.arena)
return;
- // Did we just shout?
- if (monster->seen_context != "just shouted")
+ // Did we just come into view?
+ if (monster->seen_context != "just seen")
return;
monster->seen_context.clear();
@@ -8810,7 +8810,6 @@ void seen_monster(monsters *monster)
// Monster was viewed this turn
monster->flags |= MF_WAS_IN_VIEW;
- monster->seen_context.clear();
if (monster->flags & MF_SEEN)
return;