summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/makeitem.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 2312bc5712..21e56682db 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2018,8 +2018,9 @@ static void _generate_missile_item(item_def& item, int force_type,
// Reduced quantity if special.
if (item.sub_type == MI_JAVELIN
- || get_ammo_brand( item ) == SPMSL_CURARE
- || get_ammo_brand( item ) == SPMSL_RETURNING)
+ || get_ammo_brand( item ) == SPMSL_RETURNING
+ || (item.sub_type == MI_NEEDLE
+ && get_ammo_brand( item ) != SPMSL_POISONED))
{
item.quantity = random_range(2, 8);
}