summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-18 20:09:55 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-18 20:09:55 +0000
commit7c663d89c080cb4e9106db61562c972fa2553f09 (patch)
treed9aac021ec164b2f09a6982390bd0919839381b3 /crawl-ref/source
parent42c0cf066213e022a8f1f0ea4230b668095c605b (diff)
downloadcrawl-ref-7c663d89c080cb4e9106db61562c972fa2553f09.tar.gz
crawl-ref-7c663d89c080cb4e9106db61562c972fa2553f09.zip
Add cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7480 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-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);