summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-18 17:56:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-18 17:56:33 +0000
commit468034182154a782ee368da983882595b50de550 (patch)
tree9a908659d8f5100443b09c0f2e85512271c94a61 /crawl-ref/source/effects.cc
parentd6ed0679ee7d39d2bf597cbe92e4aebbcf2d0793 (diff)
downloadcrawl-ref-468034182154a782ee368da983882595b50de550.tar.gz
crawl-ref-468034182154a782ee368da983882595b50de550.zip
Apply my commits r6601, r6604 and r6605 to the 0.4 branch, excluding
purely cosmetic changes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6606 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 4ad8841591..05850e6ef0 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -876,8 +876,7 @@ static int _find_acquirement_subtype(object_class_type class_wanted,
int count = 0;
int skill = SK_FIGHTING;
- // Can't do much with launchers, so we'll avoid them for now -- bwr
- for (int i = SK_SHORT_BLADES; i < SK_DARTS; i++)
+ for (int i = SK_SHORT_BLADES; i <= SK_DARTS; i++)
{
if (i == SK_UNUSED_1)
continue;