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, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index b2b482677b..c0603bce54 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -215,9 +215,10 @@ bool interrupt_cmd_repeat(activity_interrupt_type ai,
#ifndef DEBUG_DIAGNOSTICS
if (at.context == "newly seen")
{
+ monster_info mi(mon);
set_auto_exclude(mon);
- std::string text = get_monster_equipment_desc(mon, DESC_WEAPON);
+ std::string text = get_monster_equipment_desc(mi, DESC_WEAPON);
text += " comes into view.";
mpr(text, MSGCH_WARN);
}