summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
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);