summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-30 05:04:29 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-30 05:04:29 +0000
commite9c49344ae30fe4e976bb4695c4c0d22d0af802d (patch)
tree0faf92a084d51be5d633ac39c5b17d77ba002548 /crawl-ref/source/describe.cc
parentb638f0eb21f238ce8f143f09d0d99effb3cff497 (diff)
downloadcrawl-ref-e9c49344ae30fe4e976bb4695c4c0d22d0af802d.tar.gz
crawl-ref-e9c49344ae30fe4e976bb4695c4c0d22d0af802d.zip
Consolidate and clean up Yred's injury mirroring routines.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7073 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 034c12b027..d11bee2fa9 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -3143,7 +3143,7 @@ void describe_god( god_type which_god, bool give_title )
}
else if (which_god == GOD_YREDELEMNUL)
{
- if (!player_under_penance() && you.piety >= piety_breakpoint(0))
+ if (yred_injury_mirror())
{
have_any = true;
cprintf("%s mirrors your injuries on your foes "