summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-08-04 08:03:29 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-08-04 08:05:42 -0400
commit587f6e766e20b6e4ee3474e18b515bd4d5644e68 (patch)
tree00fe22aa06d04e7911c68dc3189141f22454f527
parentf68c32e264f3f32ed30a177f0118c6134391cffe (diff)
downloadcrawl-ref-587f6e766e20b6e4ee3474e18b515bd4d5644e68.tar.gz
crawl-ref-587f6e766e20b6e4ee3474e18b515bd4d5644e68.zip
Don't crash the game on invoking BiA (#8851).
-rw-r--r--crawl-ref/source/spl-summoning.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-summoning.cc b/crawl-ref/source/spl-summoning.cc
index a1e67aed25..a7974a337c 100644
--- a/crawl-ref/source/spl-summoning.cc
+++ b/crawl-ref/source/spl-summoning.cc
@@ -643,7 +643,8 @@ bool summon_berserker(int pow, actor *caster, monster_type override_mons)
// trolls
mon = random_choose_weighted(3, MONS_TROLL,
3, MONS_DEEP_TROLL,
- 2, MONS_IRON_TROLL);
+ 2, MONS_IRON_TROLL,
+ 0);
}
else
{