summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-23 05:01:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-23 05:01:30 +0000
commita29bd1e1cbc7d30337e661f96299bb1e4a79ba59 (patch)
tree7eb8dd6b0421c606fc598db225c646d2181ea5ed /crawl-ref/source/player.cc
parent6ca45199e87459ed3c457a6205f3f8994a0d6987 (diff)
downloadcrawl-ref-a29bd1e1cbc7d30337e661f96299bb1e4a79ba59.tar.gz
crawl-ref-a29bd1e1cbc7d30337e661f96299bb1e4a79ba59.zip
Revert erroneous change to the "%" screen, as tou still get TSO's life
protection when under penance. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4508 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index fe4203a98c..a98a2ed5b5 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1725,11 +1725,8 @@ int player_prot_life(bool calc_unid, bool temp)
// same here: Your piety status is something you can more or less control.
// TSO's protection
- if (you.religion == GOD_SHINING_ONE && you.piety > pl * 50
- && !player_under_penance())
- {
+ if (you.religion == GOD_SHINING_ONE && you.piety > pl * 50)
pl = you.piety / 50;
- }
if (temp)
{