From cba36e09a9f04f7e691fac4f1c720c9935227298 Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 17 Nov 2008 21:02:13 +0000 Subject: 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 --- crawl-ref/source/quiver.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/quiver.cc') 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 -- cgit v1.2.3-54-g00ecf