summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-26 02:20:21 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-26 02:20:21 +0000
commit662d76865ad66fbf25af37619c0030f3c1b16172 (patch)
treed18e889d1b9c9b2f3515243e2f4d2c0ebfe8fc61 /crawl-ref/source/effects.cc
parent7da48982caca9f1ccba0a3a9c6b04dc4369e8251 (diff)
downloadcrawl-ref-662d76865ad66fbf25af37619c0030f3c1b16172.tar.gz
crawl-ref-662d76865ad66fbf25af37619c0030f3c1b16172.zip
Add more mutation-related cleanups. Among these, revert
can_safely_mutate() to a check whether or not the player can mutate without decomposing. Since both Zin and Xom force their mutations, and doing so ignores the "mutation resistance" mutations, checking for the latter is redundant. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4648 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 93a9b50410..9a33e78076 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2500,7 +2500,7 @@ void handle_time( long time_delta )
if (one_chance_in(5))
mutate(RANDOM_MUTATION);
else
- give_bad_mutation(coinflip());
+ give_bad_mutation(true, coinflip());
// we're meaner now, what with explosions and whatnot, but
// we dial down the contamination a little faster if its actually