summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index ca74093ad0..6118d7c4e3 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -110,6 +110,7 @@ static bool is_noteworthy( const Note& note )
note.type == NOTE_USER_NOTE ||
note.type == NOTE_MESSAGE ||
note.type == NOTE_LOSE_GOD ||
+ note.type == NOTE_PENANCE ||
note.type == NOTE_MOLLIFY_GOD ||
note.type == NOTE_DEATH )
return true;
@@ -258,6 +259,10 @@ std::string Note::describe( bool when, bool where, bool what ) const
result << "Fell from the grace of "
<< god_name(static_cast<god_type>(first));
break;
+ case NOTE_PENANCE:
+ result << "Was placed under penance by "
+ << god_name(static_cast<god_type>(first));
+ break;
case NOTE_MOLLIFY_GOD:
result << "Was forgiven by "
<< god_name(static_cast<god_type>(first));