summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-18 19:12:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-18 19:12:09 +0200
commitde5d1be5a242b98c03e42cb9d5d276e07ea2b607 (patch)
tree1272440b7cfbd3c0ac520982b9de630c9cfc8cb0 /crawl-ref/source/mutation.h
parent486074cfc31af1f99c1502b33f2fe01ec72c42f4 (diff)
downloadcrawl-ref-de5d1be5a242b98c03e42cb9d5d276e07ea2b607.tar.gz
crawl-ref-de5d1be5a242b98c03e42cb9d5d276e07ea2b607.zip
s/give_bad_mutation(/mutate(RANDOM_BAD_MUTATION, /
The former does nothing but makes it more work to use the full interface.
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index 982099657d..3324ad18a9 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -74,13 +74,6 @@ bool mutate(mutation_type which_mutation, const string &reason,
bool no_rot = false,
bool temporary = false);
-static inline bool give_bad_mutation(const string &reason, bool failMsg = true,
- bool force_mutation = false)
-{
- return mutate(RANDOM_BAD_MUTATION, reason, failMsg, force_mutation,
- false, false, false);
-}
-
void display_mutations();
mutation_activity_type mutation_activity_level(mutation_type mut);
string describe_mutations(bool center_title);