From 7b4f94503b534ab0da779c24cdcfe84b1dc9e406 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 7 Jun 2009 11:49:31 +0000 Subject: Fix dropping worn items not checking for !T. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9909 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/items.cc | 3 ++- crawl-ref/source/monstuff.cc | 2 +- 2 files changed, 3 insertions(+), 2 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 )) diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 94d5656559..c65c22f4cf 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -2329,7 +2329,7 @@ bool random_near_space(const coord_def& origin, coord_def& target, return (true); // If the monster is on a visible square which is on the other - // side of one or more translucent from the player, then it + // side of one or more translucent walls from the player, then it // can only blink through translucent walls if the end point // is either not visible to the player, or there are at least // as many translucent walls between the player and the end -- cgit v1.2.3-54-g00ecf