diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-10-07 01:28:45 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-10-07 01:31:13 +0200 |
commit | 36868a5a6d3e63816d9e7a2b0bfc15f8c358883d (patch) | |
tree | 9fd9655b07d54c1d22551ab39eeb9aef50e08d0b /crawl-ref/source/items.h | |
parent | f408bf9c354f827c64e1416279b338a921545ff0 (diff) | |
download | crawl-ref-36868a5a6d3e63816d9e7a2b0bfc15f8c358883d.tar.gz crawl-ref-36868a5a6d3e63816d9e7a2b0bfc15f8c358883d.zip |
Stack identified and unidentified ammo when picking it up. (mesilliac)
If you have a stack of +0 stones, identical stones will auto-id.
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r-- | crawl-ref/source/items.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h index 81be53d8a9..fc33f88062 100644 --- a/crawl-ref/source/items.h +++ b/crawl-ref/source/items.h @@ -42,9 +42,10 @@ int move_item_to_player( int obj, int quant_got, bool quiet = false, bool ignore_burden = false ); void mark_items_non_pickup_at(const coord_def &pos); bool is_stackable_item( const item_def &item ); -bool items_similar( const item_def &item1, const item_def &item2 ); +bool items_similar( const item_def &item1, const item_def &item2, + bool ignore_ident = false ); bool items_stack( const item_def &item1, const item_def &item2, - bool force_merge = false ); + bool force_merge = false, bool ignore_ident = false ); void merge_item_stacks(item_def &source, item_def &dest, int quant = -1); |