diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2012-03-18 00:20:47 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2012-03-18 03:52:50 +0000 |
commit | cc0c3fad3c2e465870a6f9f9a9bacc14829ad985 (patch) | |
tree | 6bbefbecbe90316c9e963213f68126524cd245dc /crawl-ref/source/map_knowledge.cc | |
parent | 5f489ad4e0fdd21b0eabdecfefd60e40e3915bad (diff) | |
download | crawl-ref-cc0c3fad3c2e465870a6f9f9a9bacc14829ad985.tar.gz crawl-ref-cc0c3fad3c2e465870a6f9f9a9bacc14829ad985.zip |
Let Ctrl+C clear clouds that are out of LOS
Diffstat (limited to 'crawl-ref/source/map_knowledge.cc')
-rw-r--r-- | crawl-ref/source/map_knowledge.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/map_knowledge.cc b/crawl-ref/source/map_knowledge.cc index cfcd231c74..606b2c2524 100644 --- a/crawl-ref/source/map_knowledge.cc +++ b/crawl-ref/source/map_knowledge.cc @@ -75,6 +75,8 @@ void clear_map(bool clear_detected_items, bool clear_detected_monsters) if (!cell.known() || cell.visible()) continue; + cell.clear_cloud(); + if (clear_detected_items || !cell.detected_item()) cell.clear_item(); |