summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-26 08:22:55 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-26 08:22:55 +0000
commit842b9faf031270e18a9ef6bf523a82a32b3c1e60 (patch)
treeee59e817a400f6ecc95a0ebb256066e9ca7a32d0
parent825ce05506d9462865c132cef30fcf1f42d0e4ba (diff)
downloadcrawl-ref-842b9faf031270e18a9ef6bf523a82a32b3c1e60.tar.gz
crawl-ref-842b9faf031270e18a9ef6bf523a82a32b3c1e60.zip
Trunk->0.5 merge (10415): Add milestone for mollifying gods (tournament banner).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10416 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/religion.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index a0ed40c4d4..43aa48961c 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -814,6 +814,10 @@ void dec_penance(god_type god, int val)
#endif
if (you.penance[god] <= val)
{
+#ifdef DGL_MILESTONES
+ mark_milestone("god.mollify",
+ "mollified " + god_name(god) + ".");
+#endif
simple_god_message(" seems mollified.", god);
take_note(Note(NOTE_MOLLIFY_GOD, god));
you.penance[god] = 0;