summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-07 16:08:55 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-07 16:08:55 +0000
commita54ad17311bd4678aa7be86915999982cd53179b (patch)
tree8d2f5e191c85182ab13fa6dbf83ed79053551661 /crawl-ref/source/religion.cc
parent3a460cc38440b225d34705ed584605ac718009d5 (diff)
downloadcrawl-ref-a54ad17311bd4678aa7be86915999982cd53179b.tar.gz
crawl-ref-a54ad17311bd4678aa7be86915999982cd53179b.zip
When going under penance as a Trog worshipper, make his Brothers in Arms
on the current level disappear. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9752 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index ea04e0e6fa..3c5dff25c4 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -884,6 +884,8 @@ static void _inc_penance(god_type god, int val)
{
if (you.attribute[ATTR_DIVINE_REGENERATION])
remove_regen(true);
+
+ _make_god_gifts_disappear(); // only on level
}
// Neither does Zin's divine stamina.
else if (god == GOD_ZIN)