summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorPete Hurst <pete@streamuniverse.tv>2013-04-12 09:46:41 +0100
committerPete Hurst <pete@streamuniverse.tv>2013-04-12 09:53:06 +0100
commit00d902c0632f9165b1dbb3c0a5d2af1ad98741f8 (patch)
treea22d0ab6eb9cba60d7dc73a2e082f2d2a6a1d1f5 /crawl-ref/source/mutation.h
parent6b3e3c942091d4f3fcfb9869c51378dab31cf0a2 (diff)
downloadcrawl-ref-00d902c0632f9165b1dbb3c0a5d2af1ad98741f8.tar.gz
crawl-ref-00d902c0632f9165b1dbb3c0a5d2af1ad98741f8.zip
Allow beneficial mutation to bypass rMut
This is how gain foo potions previously worked. I renamed the stat_gain_potion parameter to "beneficial" to clarify its new usage. Zin, however, will still protect you from beneficial mutation (which was not the case for gain foo).
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 575d447e4d..982099657d 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -70,7 +70,7 @@ const mutation_def& get_mutation_def(mutation_type mut);
bool mutate(mutation_type which_mutation, const string &reason,
bool failMsg = true,
bool force_mutation = false, bool god_gift = false,
- bool stat_gain_potion = false, bool demonspawn = false,
+ bool beneficial = false, bool demonspawn = false,
bool no_rot = false,
bool temporary = false);