summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
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/itemprop.h
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/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index d60c62c201..786ca39b1a 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -690,10 +690,9 @@ missile_type fires_ammo_type(weapon_type wtype);
const char *ammo_name(missile_type ammo);
const char *ammo_name(const item_def &bow);
bool has_launcher(const item_def &ammo);
-bool is_throwable(const item_def &wpn, size_type bodysize = SIZE_MEDIUM,
- bool force = false);
-launch_retval is_launched(actor *actor, const item_def *launcher,
- const item_def &missile);
+bool is_throwable(const actor *actor, const item_def &wpn, bool force = false);
+launch_retval is_launched(const actor *actor, const item_def *launcher,
+ const item_def &missile);
// staff/rod functions:
bool item_is_rod( const item_def &item );