summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index 1e57e372c9..256b5a6fb8 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -14,6 +14,7 @@ REVISION("$Rev$");
#include "delay.h"
#include "directn.h"
#include "macro.h"
+#include "misc.h"
#include "menu.h" // For print_formatted_paragraph()
#include "message.h"
#include "mon-util.h"
@@ -195,6 +196,8 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai,
#ifndef DEBUG_DIAGNOSTICS
if (at.context == "newly seen")
{
+ set_auto_exclude(mon);
+
std::string text = get_monster_equipment_desc(mon, false);
text += " comes into view.";
print_formatted_paragraph(text, MSGCH_WARN);