summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-15 11:02:27 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-15 11:02:27 +0000
commit325516c60743ee1241e9ca3d13e4fd8a36d19c94 (patch)
tree151760b072e644587218af90c0c0d7694256fb1a /crawl-ref/source/misc.cc
parent298c1e905c0c3d04acdb1dd0c5e6bedce77dec3c (diff)
downloadcrawl-ref-325516c60743ee1241e9ca3d13e4fd8a36d19c94.tar.gz
crawl-ref-325516c60743ee1241e9ca3d13e4fd8a36d19c94.zip
Smarter exclusions, yay!
* Exclusions are now treated similarly to annotations and automatically added to the overmap (with the monster name if centered on a monster). * Exclusions remember whether they were placed automatically and if so, what monster triggered it. * If a grid that was previously autoexcluded comes back into sight and no longer contains the monster that triggered the autoexclusion (dead, moved away or invisible), the autoexclusion is removed again. I updated the tags, so it should be save compatible but I'm not making any promises. Also fix the Wild magic card not being documented correctly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10679 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index f7c10046fe..6181cea8f0 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2769,7 +2769,7 @@ void set_auto_exclude(const monsters *mon)
{
if (need_auto_exclude(mon) && !is_exclude_root(mon->pos()))
{
- toggle_exclude(mon->pos());
+ toggle_exclude(mon->pos(), true);
#ifdef USE_TILE
viewwindow(true, false);
#endif