summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/trap_def.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-03-18 00:21:19 +0000
committerChris Campbell <chriscampbell89@gmail.com>2012-03-18 03:52:51 +0000
commitc638a0ae5a92197b9bbec0a0bf2e0ee66212bfd3 (patch)
tree83e23ff41c0306bfbc83e79d7c98f5be4324b3fc /crawl-ref/source/trap_def.h
parentcc0c3fad3c2e465870a6f9f9a9bacc14829ad985 (diff)
downloadcrawl-ref-c638a0ae5a92197b9bbec0a0bf2e0ee66212bfd3.tar.gz
crawl-ref-c638a0ae5a92197b9bbec0a0bf2e0ee66212bfd3.zip
Don't display destroyed traps on the map if they're out of LOS
Diffstat (limited to 'crawl-ref/source/trap_def.h')
-rw-r--r--crawl-ref/source/trap_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/trap_def.h b/crawl-ref/source/trap_def.h
index 30c8543e73..673d5f392a 100644
--- a/crawl-ref/source/trap_def.h
+++ b/crawl-ref/source/trap_def.h
@@ -13,7 +13,7 @@ struct trap_def
bool is_safe(actor* act = 0) const;
void trigger(actor& triggerer, bool flat_footed = false);
void disarm();
- void destroy(bool known = true);
+ void destroy(bool known = false);
void hide();
void reveal();
void prepare_ammo(int charges = 0);