summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-17 19:51:48 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-17 19:51:48 +0000
commitc79074eb5aec50fd5b854f10d4377b4e988a696f (patch)
tree51d106e8f678b70de4a292d2e71bd443a2d999f9 /crawl-ref/source/describe.cc
parent0297f504cb6467826e35d3c2a86d93d3964058f2 (diff)
downloadcrawl-ref-c79074eb5aec50fd5b854f10d4377b4e988a696f.tar.gz
crawl-ref-c79074eb5aec50fd5b854f10d4377b4e988a696f.zip
Make all the checks for throwable items consistent.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7465 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 70d0f3a711..a451e69122 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -802,7 +802,7 @@ void append_weapon_stats(std::string &description, const item_def &item)
// describe_weapon
//
//---------------------------------------------------------------
-static std::string _describe_weapon( const item_def &item, bool verbose)
+static std::string _describe_weapon(const item_def &item, bool verbose)
{
std::string description;
@@ -1142,7 +1142,7 @@ static std::string _describe_ammo( const item_def &item )
}
bool can_launch = has_launcher(item);
- bool can_throw = is_throwable(item);
+ bool can_throw = is_throwable(item, you.body_size(), true);
bool need_new_line = true;
if (item.special && item_type_known(item))