summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 9f76609cc0..bc99032034 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -1782,6 +1782,7 @@ inline static bool _monster_warning(activity_interrupt_type ai,
}
else
{
+ ASSERT(mon->seen_context != "just seen");
// If the monster is in the auto_exclude list, automatically
// set an exclusion.
if (need_auto_exclude(mon) && !is_exclude_root(mon->pos()))
@@ -1842,6 +1843,7 @@ inline static bool _monster_warning(activity_interrupt_type ai,
print_formatted_paragraph(text,
get_number_of_cols(),
MSGCH_WARN);
+ const_cast<monsters*>(mon)->seen_context = "just seen";
}
if (Options.tutorial_left)