diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-19 00:44:33 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-19 00:44:33 +0000 |
commit | 6a93b55183ada2559d026ae0dd57a295ae1807f4 (patch) | |
tree | a799d303426ff88218aa1fc227c62109ae06ba3f /crawl-ref/source/itemprop.cc | |
parent | 79c0d3c73800dfb4ca8baa1d54dd7c3fba3f7308 (diff) | |
download | crawl-ref-6a93b55183ada2559d026ae0dd57a295ae1807f4.tar.gz crawl-ref-6a93b55183ada2559d026ae0dd57a295ae1807f4.zip |
Fix a net bug that was responsible for never (!) entrapping monsters. Whoops...
Also autoID a weapon of returning the player actually sees returning.
(Bug 1830129)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2870 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 17d6f1df0c..8786bae35d 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -491,8 +491,7 @@ void remove_item_stationary( item_def &item ) bool item_is_stationary( const item_def &item ) { - return (you.attribute[ATTR_HELD] - && item.base_type == OBJ_MISSILES + return (item.base_type == OBJ_MISSILES && item.sub_type == MI_THROWING_NET && item.plus2); } |