summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-23 22:27:12 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-23 22:27:12 +0200
commita918fa5811087dade5c8bbe4836882cdbd63ef65 (patch)
tree39c1bed3227b4c8ccdfbe84317e3e2d7f6dbae5f /crawl-ref/source/effects.cc
parent8cc7f8f9a7940798f851d0e6b06195858589159d (diff)
downloadcrawl-ref-a918fa5811087dade5c8bbe4836882cdbd63ef65.tar.gz
crawl-ref-a918fa5811087dade5c8bbe4836882cdbd63ef65.zip
Sync Cb's Slow Biology effects with announcements.
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 65245158fa..347cd130ed 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -3624,7 +3624,7 @@ void handle_time(long time_delta)
// not actually do anything.
if (one_chance_in(30)
&& !(you.religion == GOD_CHEIBRIADOS
- && piety_rank(you.piety) >= 1
+ && you.piety >= piety_breakpoint(1)
&& coinflip()))
{
mpr("Your disease is taking its toll.", MSGCH_WARN);