summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-07 07:39:15 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-07 07:39:15 +0000
commit13089bbb1b6ca36c9acad9007a887cfa44b1e30f (patch)
tree027e4e3268bdd53dc72e257a7e2cf900705bacae /crawl-ref/source/itemprop.h
parent6ccc5b0dae20c6589de6bf594efb8940d93b72d4 (diff)
downloadcrawl-ref-13089bbb1b6ca36c9acad9007a887cfa44b1e30f.tar.gz
crawl-ref-13089bbb1b6ca36c9acad9007a887cfa44b1e30f.zip
Disallow monsters from picking up missiles for which they don't have
the necessary launcher, but allow upgrading of missiles for ones with higher pluses or branded ones. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4906 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r--crawl-ref/source/itemprop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h
index d24246a64d..b27c2573f1 100644
--- a/crawl-ref/source/itemprop.h
+++ b/crawl-ref/source/itemprop.h
@@ -694,7 +694,7 @@ missile_type fires_ammo_type( const item_def &item );
missile_type fires_ammo_type( weapon_type wtype );
const char * ammo_name( const item_def &bow );
const char * ammo_name( missile_type mtyp );
-bool has_launcher( const item_def &wpn );
+bool has_launcher( const item_def &ammo );
bool is_throwable( const item_def &wpn,
size_type bodysize = SIZE_MEDIUM );
launch_retval is_launched(actor *actor, const item_def *launcher,