summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-07-13 03:53:43 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-07-13 03:53:43 +0200
commitf66529f1eef4786e9d073f71608392b7329c5683 (patch)
treec2e98ab6cca956931966b8a91fe2f7806750a245 /crawl-ref/source/mutation.h
parentc31f49fed7ef6af58a316987f418ad26cc95a2b9 (diff)
downloadcrawl-ref-f66529f1eef4786e9d073f71608392b7329c5683.tar.gz
crawl-ref-f66529f1eef4786e9d073f71608392b7329c5683.zip
Revert "Messages for undead who drink potions of mut or bmut."
Breaks message order, and since vampires special-case beneficial mutation already, it's 100% deterministic so can be coded without special return values. This reverts commit 9b06fafd7d31d8775373ecf524e448a06fda836d.
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 110f37c3e8..3324ad18a9 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -67,7 +67,7 @@ bool is_valid_mutation(mutation_type mut);
bool is_body_facet(mutation_type mut);
const mutation_def& get_mutation_def(mutation_type mut);
-int mutate(mutation_type which_mutation, const string &reason,
+bool mutate(mutation_type which_mutation, const string &reason,
bool failMsg = true,
bool force_mutation = false, bool god_gift = false,
bool beneficial = false, bool demonspawn = false,