diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-12-27 19:00:10 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-12-27 19:00:10 +0300 |
commit | 507c3523d54cd2c15185f06f8be1f1ea353497d8 (patch) | |
tree | 2cea6119f61c8c03c9333537d554685d9ebe71d2 /crawl-ref/source/externs.h | |
parent | 76b76949fb3f6fe4c1e735f0b1d9ef72ae4a6a68 (diff) | |
download | crawl-ref-507c3523d54cd2c15185f06f8be1f1ea353497d8.tar.gz crawl-ref-507c3523d54cd2c15185f06f8be1f1ea353497d8.zip |
Make item_is_critical a method of item_def.
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index c3eb240a16..cf2b98d8d0 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -533,6 +533,9 @@ public: bool is_valid() const; + // Returns true if this item should be preserved as far as possible. + bool is_critical() const; + private: std::string name_aux(description_level_type desc, bool terse, bool ident, |