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/items.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/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 9bae095a87..f7aca1abb3 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1460,6 +1460,7 @@ int find_free_slot(const item_def &i) static void _got_item(item_def& item, int quant) { + seen_item(item); shopping_list.cull_identical_items(item); if (!is_rune(item)) |