diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-17 21:02:13 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-17 21:02:13 +0000 |
commit | cba36e09a9f04f7e691fac4f1c720c9935227298 (patch) | |
tree | 776c117b04216422ef4b806749916bdfa1ba0c27 /crawl-ref/source/quiver.cc | |
parent | 2d63ab533a35163bf93d03f5db33b5ed8ec5a2ea (diff) | |
download | crawl-ref-cba36e09a9f04f7e691fac4f1c720c9935227298.tar.gz crawl-ref-cba36e09a9f04f7e691fac4f1c720c9935227298.zip |
Clean up handling of thrown items (mostly large rocks) again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7467 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r-- | crawl-ref/source/quiver.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index c1582ab6ff..c94622fe1b 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -533,8 +533,7 @@ static bool _item_matches(const item_def &item, fire_type types, return (true); } } - else if (item.base_type == OBJ_WEAPONS - && is_throwable(item, you.body_size())) + else if (item.base_type == OBJ_WEAPONS && is_throwable(&you, item)) { if ((types & FIRE_RETURNING) && item.special == SPWPN_RETURNING |