summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-07-03 11:00:01 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-07-03 11:00:01 -0400
commit52da494bbcaee71c74bf962e8ed96d8e39535e04 (patch)
tree9c7af654f30f0669e9e936f18aedd9b8217c04d5 /crawl-ref/source/mutation.cc
parentf9fe885eddd3610f9c236023d4a24797df9439f9 (diff)
downloadcrawl-ref-52da494bbcaee71c74bf962e8ed96d8e39535e04.tar.gz
crawl-ref-52da494bbcaee71c74bf962e8ed96d8e39535e04.zip
Fold mutation_def::wizname into ::short_desc.
In only a few cases were the strings different, and in even fewer were they significantly so. In general, I used the short_desc for the combined one, since someone running wizmode can presumably look at mutation-data.h, except that "large and strong wings" got changed to "big wings", and "life protection" to "negative energy resistance".
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r--crawl-ref/source/mutation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 1530dbffbc..7cc7e70334 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -1956,7 +1956,7 @@ const char* mutation_name(mutation_type mut)
if (!_is_valid_mutation(mut))
return nullptr;
- return get_mutation_def(mut).wizname;
+ return get_mutation_def(mut).short_desc;
}
// Return a string describing the mutation.
@@ -2338,7 +2338,7 @@ _schedule_ds_mutations(vector<mutation_type> muts)
dt.mutation = muts_left.front();
dprf("Demonspawn will gain %s at level %d",
- get_mutation_def(dt.mutation).wizname, dt.level_gained);
+ get_mutation_def(dt.mutation).short_desc, dt.level_gained);
out.push_back(dt);