summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-10 12:13:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-10 12:13:52 +0000
commitc19654b6135f04e1b846a12818319d829d704fe8 (patch)
tree08e2d9ac0c9c9face8cb3f51b6549373378797ce /crawl-ref/source/items.h
parentca24077fe2dc9c9f381ebbccb70c04fd143ea718 (diff)
downloadcrawl-ref-c19654b6135f04e1b846a12818319d829d704fe8.tar.gz
crawl-ref-c19654b6135f04e1b846a12818319d829d704fe8.zip
[1632207] Dropping items on an altar while praying will offer those items to
$DEITY. If it's a multidrop, only the last item will trigger the altar-offer to avoid spammy messages. Interrupted multidrop will not do the offer, nor will the offer happen if prayer ends before the last item is dropped. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@821 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r--crawl-ref/source/items.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h
index d741cbf8fe..af0ab9d4f7 100644
--- a/crawl-ref/source/items.h
+++ b/crawl-ref/source/items.h
@@ -126,7 +126,7 @@ void cmd_destroy_item( void );
bool pickup_single_item(int link, int qty);
-bool drop_item( int item_dropped, int quant_drop );
+bool drop_item( int item_dropped, int quant_drop, bool try_offer = false );
int get_equip_slot(const item_def *item);