summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/acr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index d813caf12a..9af300e238 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -2849,7 +2849,7 @@ static void _decrement_durations()
// (killing monsters, offering items, ...) might be confusing for characters
// of other religions.
// For now, though, keep information about what happened hidden.
- if (you.duration[DUR_PIETY_POOL] && one_chance_in(5))
+ if (you.duration[DUR_PIETY_POOL] > 0 && one_chance_in(5))
{
you.duration[DUR_PIETY_POOL]--; // Decrease even if piety at maximum.
gain_piety(1);