summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.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/monstuff.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/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 1106bbf47b..85ef6af6b2 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -8936,11 +8936,7 @@ void seen_monster(monsters *monster)
{
// If the monster is in the auto_exclude list, automatically
// set an exclusion.
- if (need_auto_exclude(monster) && !is_exclude_root(monster->pos()))
- {
- toggle_exclude(monster->pos());
- learned_something_new(TUT_AUTO_EXCLUSION, monster->pos());
- }
+ set_auto_exclude(monster);
// Monster was viewed this turn
monster->flags |= MF_WAS_IN_VIEW;