summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorEino Keskitalo <evktalo@users.sourceforge.net>2010-01-03 18:59:12 +0200
committerEino Keskitalo <evktalo@users.sourceforge.net>2010-01-03 20:23:58 +0200
commit0847ae964af326995776031d1ffa7f96c2a72eeb (patch)
tree966f0440e5d1d05a140eb75da2a65ade14aac3d6 /crawl-ref/source/itemprop.cc
parent030db706c8bc4f513c34ec4e85003879442a9e8f (diff)
downloadcrawl-ref-0847ae964af326995776031d1ffa7f96c2a72eeb.tar.gz
crawl-ref-0847ae964af326995776031d1ffa7f96c2a72eeb.zip
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 <evktalo@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc3
1 files changed, 2 insertions, 1 deletions
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);
}