summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
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/mutation.h
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/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index e309e51c3e..6074cc1913 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -69,7 +69,7 @@ const char *mutation_name( mutation_type which_mutat, int level = -1 );
/* ***********************************************************************
* called from: items - spells
* *********************************************************************** */
-bool give_bad_mutation( bool forceMutation = false, bool failMsg = true );
+bool give_bad_mutation( bool failMsg = true, bool force_mutation = false );
// last updated 12may2000 {dlb}
/* ***********************************************************************