summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-23 00:52:49 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-23 00:52:49 +0200
commit9b058762b2f963cb208aa6be630492c87da0da3d (patch)
tree9833fbf24b7181849252bcfe187629b8d5c76108 /crawl-ref/source/exclude.cc
parentd5b208b7eb891e070ae1eaa1cfa56e444b61277e (diff)
downloadcrawl-ref-9b058762b2f963cb208aa6be630492c87da0da3d.tar.gz
crawl-ref-9b058762b2f963cb208aa6be630492c87da0da3d.zip
Decouple stealth checks from drawing the view window.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index 7ee1748ab7..195d697eca 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -79,7 +79,7 @@ void set_auto_exclude(const monsters *mon)
mon->name(DESC_NOCAP_THE).c_str());
#ifdef USE_TILE
- viewwindow(false);
+ viewwindow();
#endif
learned_something_new(HINT_AUTO_EXCLUSION, mon->pos());
}
@@ -93,7 +93,7 @@ void remove_auto_exclude(const monsters *mon, bool sleepy)
{
del_exclude(mon->pos());
#ifdef USE_TILE
- viewwindow(false);
+ viewwindow();
#endif
}
}