summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-17 21:02:13 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-17 21:02:13 +0000
commitcba36e09a9f04f7e691fac4f1c720c9935227298 (patch)
tree776c117b04216422ef4b806749916bdfa1ba0c27 /crawl-ref/source/tilereg.cc
parent2d63ab533a35163bf93d03f5db33b5ed8ec5a2ea (diff)
downloadcrawl-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/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index 5852f4b8c1..0a039a2830 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -1555,12 +1555,12 @@ bool InventoryRegion::update_tip_text(std::string& tip)
case OBJ_STAVES:
case OBJ_MISCELLANY:
tip += "Wield (w)";
- if (is_throwable(item, you.body_size()))
+ if (is_throwable(&you, item))
tip += "\n[Ctrl-L-Click] Fire (f)";
break;
case OBJ_WEAPONS + EQUIP_OFFSET:
tip += "Unwield";
- if (is_throwable(item, you.body_size()))
+ if (is_throwable(&you, item))
tip += "\n[Ctrl-L-Click] Fire (f)";
break;
case OBJ_MISCELLANY + EQUIP_OFFSET: