summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index e5c356ba86..fdc9592185 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1959,7 +1959,8 @@ bool drop_item( int item_dropped, int quant_drop, bool try_offer )
{
mpr("You will have to take that off first.");
}
- else
+ else if (check_warning_inscriptions(you.inv[item_dropped],
+ OPER_TAKEOFF))
{
// If we take off the item, cue up the item being dropped
if (takeoff_armour( item_dropped ))