From c19654b6135f04e1b846a12818319d829d704fe8 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 10 Jan 2007 12:13:52 +0000 Subject: [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 --- crawl-ref/source/items.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/items.h') 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); -- cgit v1.2.3-54-g00ecf