From e9c49344ae30fe4e976bb4695c4c0d22d0af802d Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 30 Sep 2008 05:04:29 +0000 Subject: 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 --- crawl-ref/source/describe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/describe.cc') 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 " -- cgit v1.2.3-54-g00ecf