summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 1ba29603ae..a23525e898 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6354,7 +6354,10 @@ bool player::backlit() const
void player::mutate()
{
if (one_chance_in(5))
- ::mutate(RANDOM_MUTATION);
+ {
+ if (::mutate(RANDOM_MUTATION))
+ learned_something_new(TUT_YOU_MUTATED);
+ }
else
give_bad_mutation();
}