diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-14 11:48:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-14 11:48:30 +0000 |
commit | 54705c0c81e24cfd76ba4fe654c37de217c5beae (patch) | |
tree | ea3625f8dfd68d7ae17501e771d610eee8834479 /crawl-ref/source/player.cc | |
parent | bf43967bc6de08383813ea532bf75c2d441d0e89 (diff) | |
download | crawl-ref-54705c0c81e24cfd76ba4fe654c37de217c5beae.tar.gz crawl-ref-54705c0c81e24cfd76ba4fe654c37de217c5beae.zip |
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |