summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-04 01:54:41 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-04 01:54:41 +0000
commit0872d1301e09972b79e2c307e56e58eb3892e80d (patch)
tree9eb1b175510fdf6c80ee5cdb2178457b499ddfeb
parenta1f0d1220a8f0efe728dce6afd34ca3ef2638f12 (diff)
downloadcrawl-ref-0872d1301e09972b79e2c307e56e58eb3892e80d.tar.gz
crawl-ref-0872d1301e09972b79e2c307e56e58eb3892e80d.zip
Backport trunk r9888 to 0.5.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9889 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/religion.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index a6c91d3074..2c344b8a2b 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -5951,6 +5951,9 @@ void excommunication(god_type new_god)
break;
case GOD_TROG:
+ if (you.attribute[ATTR_DIVINE_REGENERATION])
+ remove_regen(true);
+
_make_god_gifts_hostile(false);
// Penance has to come before retribution to prevent "mollify"