summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-09-21 15:19:55 +0000
committerRaphael Langella <raphael.langella@gmail.com>2011-09-21 22:28:29 +0200
commit080a45ce3f7528ba7d7a4814545efd3ea583e725 (patch)
tree58e7a1c967b219db34de0eaf9c4ae179b98c5122 /crawl-ref/source/invent.h
parentbcc6db97b128f22c05e5c02e21a6ecbf21fc5e97 (diff)
downloadcrawl-ref-080a45ce3f7528ba7d7a4814545efd3ea583e725.tar.gz
crawl-ref-080a45ce3f7528ba7d7a4814545efd3ea583e725.zip
On click, unwield weapons of reaching instead of evoking them (#4581).
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 6d12d06633..d9d1128da6 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -248,7 +248,8 @@ void init_item_sort_comparators(item_sort_comparators &list,
bool prompt_failed(int retval, std::string msg = "");
bool item_is_wieldable(const item_def &item);
-bool item_is_evokable(const item_def &item, bool known = false,
- bool all_wands = false, bool msg = false);
+bool item_is_evokable(const item_def &item, bool reach = true,
+ bool known = false, bool all_wands = false,
+ bool msg = false);
bool needs_handle_warning(const item_def &item, operation_types oper);
#endif