summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/items.cc3
-rw-r--r--crawl-ref/source/monstuff.cc2
-rw-r--r--crawl-ref/source/view.cc3
3 files changed, 5 insertions, 3 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 69e4f0def4..bca20c367f 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -2324,7 +2324,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
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 4cbd7f586e..46cb73c139 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -2877,8 +2877,9 @@ void losight(env_show_grid &sh,
dungeon_feature_type dfeat = grid_appearance(gr, real);
// if this cell is opaque...
+ // ... or something you can see but not walk through ...
if (grid_is_opaque(dfeat)
- || clear_walls_block && grid_is_wall(dfeat))
+ || clear_walls_block && dfeat < DNGN_MINMOVE)
{
// then block the appropriate rays
for (unsigned int i = 0; i < num_words; ++i)