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/actor.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/actor.h')
-rw-r--r-- | crawl-ref/source/actor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h index 46b5e32636..78c5f2ed82 100644 --- a/crawl-ref/source/actor.h +++ b/crawl-ref/source/actor.h @@ -138,7 +138,8 @@ public: bool ignore_transform = false) const = 0; virtual bool could_wield(const item_def &item, bool ignore_brand = false, - bool ignore_transform = false) const = 0; + bool ignore_transform = false, + bool quiet = true) const = 0; virtual void make_hungry(int nutrition, bool silent = true) { |