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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 1eb78f9f73..2145370f10 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5185,12 +5185,12 @@ void contaminate_player(int change, bool controlled, bool status_only)
xom_is_stimulated(new_level * 32);
}
- if (new_level >= 1)
- learned_something_new(TUT_GLOWING);
-
if (status_only)
return;
+ if (you.magic_contamination > 0)
+ learned_something_new(TUT_GLOWING);
+
// Zin doesn't like mutations or mutagenic radiation.
if (you.religion == GOD_ZIN)
{