summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-summoning.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-10 13:47:28 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-10 13:47:28 -0400
commit2cecdf434401f754e5e8ac3cb8a587116bb51302 (patch)
tree590132bde39d1ad18b295e80cbf2730fc0e22347 /crawl-ref/source/spl-summoning.cc
parent7e81480cda18144ff185f5248639a072b654deff (diff)
downloadcrawl-ref-2cecdf434401f754e5e8ac3cb8a587116bb51302.tar.gz
crawl-ref-2cecdf434401f754e5e8ac3cb8a587116bb51302.zip
Revert "Make random_choose_weighted() end on -1 weight"
This reverts commit 7e81480cda18144ff185f5248639a072b654deff. Turns out I missed some calls to random_choose_weighted(), this change might not even be worth doing.
Diffstat (limited to 'crawl-ref/source/spl-summoning.cc')
-rw-r--r--crawl-ref/source/spl-summoning.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-summoning.cc b/crawl-ref/source/spl-summoning.cc
index 190ec0023a..7fd725b9d8 100644
--- a/crawl-ref/source/spl-summoning.cc
+++ b/crawl-ref/source/spl-summoning.cc
@@ -2365,7 +2365,7 @@ spret_type cast_haunt(int pow, const coord_def& where, god_type god, bool fail)
5, MONS_WRAITH,
2, MONS_FREEZING_WRAITH,
2, MONS_PHANTASMAL_WARRIOR,
- -1);
+ 0);
if (monster *mons = create_monster(
mgen_data(mon,