diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-07 15:58:35 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-07 15:58:35 +0000 |
commit | 3a460cc38440b225d34705ed584605ac718009d5 (patch) | |
tree | e6f1116b6fcfe21f84d0cd9ce51130b946190e50 /crawl-ref/source/religion.cc | |
parent | 486ae12ad24cbbfced890f587b8e5656805212a8 (diff) | |
download | crawl-ref-3a460cc38440b225d34705ed584605ac718009d5.tar.gz crawl-ref-3a460cc38440b225d34705ed584605ac718009d5.zip |
Simplify.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9751 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 751154dfdd..ea04e0e6fa 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -882,11 +882,8 @@ static void _inc_penance(god_type god, int val) // Neither does Trog's regeneration or magic resistance. else if (god == GOD_TROG) { - if (you.duration[DUR_REGENERATION] - && you.attribute[ATTR_DIVINE_REGENERATION]) - { + if (you.attribute[ATTR_DIVINE_REGENERATION]) remove_regen(true); - } } // Neither does Zin's divine stamina. else if (god == GOD_ZIN) |