diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2012-03-18 00:21:19 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2012-03-18 03:52:51 +0000 |
commit | c638a0ae5a92197b9bbec0a0bf2e0ee66212bfd3 (patch) | |
tree | 83e23ff41c0306bfbc83e79d7c98f5be4324b3fc /crawl-ref/source/trap_def.h | |
parent | cc0c3fad3c2e465870a6f9f9a9bacc14829ad985 (diff) | |
download | crawl-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.h | 2 |
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); |