diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-01-04 13:31:34 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-01-04 13:34:04 +0100 |
commit | 351147f56190d73b347c906e6ab30ddf30387a68 (patch) | |
tree | ffbf967d96fdb76ca17e5c8ee728f7400d888105 /crawl-ref/source/stash.cc | |
parent | 21e755bcfd70b2683ada62dfdb6cd67695db0f7a (diff) | |
download | crawl-ref-351147f56190d73b347c906e6ab30ddf30387a68.tar.gz crawl-ref-351147f56190d73b347c906e6ab30ddf30387a68.zip |
Track all seen weapon/armour base types and their brands, for acq purposes.
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r-- | crawl-ref/source/stash.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index f40dc4005e..79aebb3ce1 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -724,6 +724,8 @@ void Stash::add_item(const item_def &item, bool add_to_front) else items.push_back(item); + seen_item(item); + if (!_is_rottable(item)) return; |