summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 16:47:15 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 16:47:15 +0000
commit42a6bc685623ea38f388f1c341872a815602fc44 (patch)
tree2f92b4cda70dfcc425bd93372ef903b42551d6be /crawl-ref/source/spells3.cc
parent7b7a36d0531a016ba81520bec2a4a4177e2ca8ed (diff)
downloadcrawl-ref-42a6bc685623ea38f388f1c341872a815602fc44.tar.gz
crawl-ref-42a6bc685623ea38f388f1c341872a815602fc44.zip
Add a few miscast-related tweaks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5659 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 71bb89a09b..60770f1749 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1207,9 +1207,8 @@ bool cast_summon_wraiths(int pow, bool god_gift)
//jmf: Kiku sometimes deflects this
if (!(you.religion == GOD_KIKUBAAQUDGHA
- && (!player_under_penance()
- && you.piety >= piety_breakpoint(3)
- && you.piety > random2(MAX_PIETY))))
+ && (!player_under_penance() && you.piety >= piety_breakpoint(3)
+ && you.piety > random2(MAX_PIETY))))
{
disease_player(25 + random2(50));
}