summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.cc
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2013-04-28 14:56:29 -0400
committerSamuel Bronson <naesten@gmail.com>2013-04-28 14:56:29 -0400
commit4d9cfb1e3c75dd575c139adf4c7a7d2e6d2cd918 (patch)
tree26d7ba5214ad482ee1d9cbb98b08b54397b38f50 /crawl-ref/source/show.cc
parentab650623625beaca534a1b30f0807df4d2d98f11 (diff)
downloadcrawl-ref-4d9cfb1e3c75dd575c139adf4c7a7d2e6d2cd918.tar.gz
crawl-ref-4d9cfb1e3c75dd575c139adf4c7a7d2e6d2cd918.zip
Add a comment where we flub antennae detecting invisible monsters
Diffstat (limited to 'crawl-ref/source/show.cc')
-rw-r--r--crawl-ref/source/show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/show.cc b/crawl-ref/source/show.cc
index bbc7a35bc0..61150a587d 100644
--- a/crawl-ref/source/show.cc
+++ b/crawl-ref/source/show.cc
@@ -451,7 +451,7 @@ static void _update_monster(monster* mons)
void show_update_at(const coord_def &gp, bool terrain_only)
{
- if (you.see_cell(gp))
+ if (you.see_cell(gp)) // XXX this prevents detecting invisible monsters
env.map_knowledge(gp).clear_data();
else if (!env.map_knowledge(gp).known())
return;