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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 871ee6af21..8e31712f24 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1301,7 +1301,7 @@ int find_free_slot(const item_def &i)
// the player's inventory is full.
int move_item_to_player( int obj, int quant_got, bool quiet )
{
- if (you.attribute[ATTR_CAUGHT] && mitm[obj].base_type == OBJ_MISSILES
+ if (you.attribute[ATTR_HELD] && mitm[obj].base_type == OBJ_MISSILES
&& mitm[obj].sub_type == MI_THROWING_NET && item_is_stationary(mitm[obj]))
{
mpr("You cannot pick up the net that holds you!");