From 63e312c909cf2d91461e1b17b6e4c4a71a8250a0 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Tue, 3 Jun 2008 02:51:49 +0000 Subject: Don't include items in drop filter if they're cursed and equipped, or if they're inscribed with "!d" or "!*". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5446 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/invent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/invent.h') diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h index ad2fa005b5..46a3ead180 100644 --- a/crawl-ref/source/invent.h +++ b/crawl-ref/source/invent.h @@ -158,6 +158,7 @@ protected: const menu_sort_condition *cond); const menu_sort_condition *find_menu_sort_condition() const; virtual void draw_stock_item(int index, const MenuEntry *me) const; + virtual bool is_selectable(int index) const; protected: menu_type type; -- cgit v1.2.3-54-g00ecf