summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.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/tutorial.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/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index 0030107fe4..f0aabd9cc0 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -3023,7 +3023,7 @@ void tutorial_describe_item(const item_def &item)
}
}
- if (is_throwable(item, you.body_size()) && !long_text)
+ if (is_throwable(&you, item) && !long_text)
{
ostr << "\n\nSome weapons (including this one), can also be "
"<w>f</w>ired. ";
@@ -3048,7 +3048,7 @@ void tutorial_describe_item(const item_def &item)
"reading a scroll of remove curse or one of the "
"enchantment scrolls.";
- if (!wielded && is_throwable(item, you.body_size()))
+ if (!wielded && is_throwable(&you, item))
ostr << " (Throwing it is safe, though.)";
Options.tutorial_events[TUT_YOU_CURSED] = false;
@@ -3057,7 +3057,7 @@ void tutorial_describe_item(const item_def &item)
break;
}
case OBJ_MISSILES:
- if (is_throwable(item, you.body_size()))
+ if (is_throwable(&you, item))
{
ostr << item.name(DESC_CAP_YOUR)
<< " can be <w>f</w>ired without the use of a launcher. ";