summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 10:58:48 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 11:01:59 -0600
commit0ce1a4494cbd8a1eb5c5fdafff80f7433685995a (patch)
tree87d8b59deaedd96e2f4ae7b4b7ad564f5036afc1 /crawl-ref/source/makeitem.cc
parenta25350471f2682f94ed680f38ec277eb7caf107c (diff)
downloadcrawl-ref-0ce1a4494cbd8a1eb5c5fdafff80f7433685995a.tar.gz
crawl-ref-0ce1a4494cbd8a1eb5c5fdafff80f7433685995a.zip
Since sling bullets can be poisoned now, let them be generated that way.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index b25fc498cd..f802a3e765 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1857,12 +1857,9 @@ static special_missile_type _determine_missile_brand(const item_def& item,
if (get_equip_race(item) == ISFLAG_ORCISH && one_chance_in(3))
rc = SPMSL_POISONED;
- // Un-poison sling bullets, and unbrand throwing nets.
- if (item.sub_type == MI_SLING_BULLET && rc == SPMSL_POISONED
- || item.sub_type == MI_THROWING_NET)
- {
+ // Unbrand throwing nets.
+ if (item.sub_type == MI_THROWING_NET)
rc = SPMSL_NORMAL;
- }
return rc;
}