diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-12 15:01:38 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-13 00:33:57 -0700 |
commit | 1c345a4aaf0f96327f03151fa0217189510ac6b8 (patch) | |
tree | dc05e6b9e924e2c90bef05766494a2067a85beef /crawl-ref/source/player.h | |
parent | fed8404d299063c153073816a5ed77a85c9c008c (diff) | |
download | crawl-ref-1c345a4aaf0f96327f03151fa0217189510ac6b8.tar.gz crawl-ref-1c345a4aaf0f96327f03151fa0217189510ac6b8.zip |
Refactor duplicate code from can_wield()
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 545d4aea9e..3a70419039 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -544,7 +544,8 @@ public: bool ignore_transform = false) const; bool could_wield(const item_def &item, bool ignore_brand = false, - bool ignore_transform = false) const; + bool ignore_transform = false, + bool quiet = true) const; string name(description_level_type type, bool force_visible = false) const; string pronoun(pronoun_type pro, bool force_visible = false) const; |