summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-17 21:36:30 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-17 21:36:30 +0000
commit7b768f7fac47ee709312b381e5844b55f58d3553 (patch)
treeb2876cd5f9a27add79eaa6e99e82c7dbe5dbd7ca /crawl-ref/source/state.cc
parent5f770d9133518e7f43d8064ca11acbd9830c0cfc (diff)
downloadcrawl-ref-7b768f7fac47ee709312b381e5844b55f58d3553.tar.gz
crawl-ref-7b768f7fac47ee709312b381e5844b55f58d3553.zip
* More steps on the path to reintroducing player doll customization.
Also apply my two previous commits to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9995 c06c8d41-db1a-0410-9941-cceddc491573
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);