summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 17:50:50 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 17:50:50 +0000
commit3d8076086374c98bb2e90d342803f173d7cffd87 (patch)
treefc1cf4b17ce4c6e3004c4271b4321ad94af8795f /crawl-ref/source/abl-show.cc
parentf679a5b0cc0a5ea257b4cf2a618adca9d0b8c0db (diff)
downloadcrawl-ref-3d8076086374c98bb2e90d342803f173d7cffd87.tar.gz
crawl-ref-3d8076086374c98bb2e90d342803f173d7cffd87.zip
Start cleaning up summoning routines in a better way. Sorry for the
mess in the meantime. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5545 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 244ad339b8..e6992af2e8 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1634,8 +1634,7 @@ static bool _do_ability(const ability_def& abil)
case ABIL_TROG_BROTHERS_IN_ARMS:
// Trog abilities don't use or train invocations.
summon_berserker(you.piety +
- random2(you.piety/4) - random2(you.piety/4),
- BEH_FRIENDLY, true);
+ random2(you.piety/4) - random2(you.piety/4));
break;
case ABIL_SIF_MUNA_FORGET_SPELL: