From 54705c0c81e24cfd76ba4fe654c37de217c5beae Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 14 Jun 2009 11:48:30 +0000 Subject: Apply my recent commits to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9978 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 29e7e62ba3..c1f4e21a71 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) { -- cgit v1.2.3-54-g00ecf