From 0847ae964af326995776031d1ffa7f96c2a72eeb Mon Sep 17 00:00:00 2001 From: Eino Keskitalo Date: Sun, 3 Jan 2010 18:59:12 +0200 Subject: Don't mark darts as having launcher type. (Napkin) Had at least the effect of saying "works better with elven launchers" when looking at elven darts description. Signed-off-by: Eino Keskitalo --- crawl-ref/source/itemprop.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 9b9a938b16..a29eae68ff 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -1842,7 +1842,8 @@ const char *ammo_name(const item_def &bow) bool has_launcher(const item_def &ammo) { ASSERT(ammo.base_type == OBJ_MISSILES); - return (ammo.sub_type != MI_LARGE_ROCK + return (ammo.sub_type != MI_DART + && ammo.sub_type != MI_LARGE_ROCK && ammo.sub_type != MI_JAVELIN && ammo.sub_type != MI_THROWING_NET); } -- cgit v1.2.3-54-g00ecf