diff options
-rw-r--r-- | crawl-ref/source/player.cc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 86f9a53376..926e99f6bb 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -4936,10 +4936,7 @@ void contaminate_player(int change, bool controlled, bool status_only) // figure out new level new_level = _get_contamination_level(); - if (new_level >= 1) - learned_something_new(TUT_GLOWING); - - if (status_only) + if (status_only || (new_level >= 1 && old_level == 0)) { if (new_level > 0) { @@ -4958,16 +4955,20 @@ void contaminate_player(int change, bool controlled, bool status_only) (new_level == 3) ? "!" : "."); } } - return; } - - if (new_level != old_level) + else if (new_level != old_level) { mprf((change > 0) ? MSGCH_WARN : MSGCH_RECOVERY, "You feel %s contaminated with magical energies.", (change > 0) ? "more" : "less" ); } + if (new_level >= 1) + learned_something_new(TUT_GLOWING); + + if (status_only) + return; + // Zin doesn't like mutations or mutagenic radiation. if (you.religion == GOD_ZIN) { |