summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 973b73f3f0..108462a7e1 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6013,8 +6013,8 @@ int player::warding() const
if (wearing_amulet(AMU_WARDING))
return (30);
- if (religion == GOD_VEHUMET && duration[DUR_PRAYER]
- && !player_under_penance() && piety >= piety_breakpoint(2))
+ if (religion == GOD_VEHUMET && !player_under_penance()
+ && piety >= piety_breakpoint(2))
{
// Clamp piety at 160 and scale that down to a max of 30.
const int wardpiety = piety > 160? 160 : piety;