summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/map_knowledge.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-11-17 20:28:04 +0100
committerRaphael Langella <raphael.langella@gmail.com>2011-11-17 20:28:04 +0100
commit4c9d044610f9b9e0ac5940955998ef5573d5e3a8 (patch)
treedc402bdbe19b9c44e60aac2bd8c4c24f75020371 /crawl-ref/source/map_knowledge.h
parent112820ae1c79981a5a26b7d3db638a5495e52ee7 (diff)
downloadcrawl-ref-4c9d044610f9b9e0ac5940955998ef5573d5e3a8.tar.gz
crawl-ref-4c9d044610f9b9e0ac5940955998ef5573d5e3a8.zip
Fix inverted logic in clear_map().
Also change the default so that it doesn't clear detected items (unlikely to move), only detected monsters.
Diffstat (limited to 'crawl-ref/source/map_knowledge.h')
-rw-r--r--crawl-ref/source/map_knowledge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/map_knowledge.h b/crawl-ref/source/map_knowledge.h
index bb7bebdd60..0272fb7af6 100644
--- a/crawl-ref/source/map_knowledge.h
+++ b/crawl-ref/source/map_knowledge.h
@@ -275,6 +275,6 @@ void clear_terrain_visibility();
int count_detected_mons(void);
void map_knowledge_forget_mons(const coord_def &c);
-void clear_map(bool clear_items = true, bool clear_mons = true);
+void clear_map(bool clear_items = false, bool clear_mons = true);
#endif