diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-23 05:04:51 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-07-23 07:06:12 +0100 |
commit | 084620bb5592de02ebe2786d84a415f98f6a6b10 (patch) | |
tree | 36a8ed451cfb64bb42550413045fbc2ab2b6b5ab /crawl-ref/source/itemname.cc | |
parent | 92ec8ff9c87e0d104e65be28f43727e832620d35 (diff) | |
download | crawl-ref-084620bb5592de02ebe2786d84a415f98f6a6b10.tar.gz crawl-ref-084620bb5592de02ebe2786d84a415f98f6a6b10.zip |
Don't consider permafood permanently useless while in Lichform
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index 392ac6d5ee..58257edb44 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -3492,11 +3492,8 @@ bool is_useless_item(const item_def &item, bool temp) if (!is_inedible(item)) return false; - if (item.sub_type == FOOD_CHUNK - && !temp && you.form == TRAN_LICH) - { + if (!temp && you.form == TRAN_LICH) return false; - } if (is_fruit(item) && you_worship(GOD_FEDHAS)) return false; |