diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-09-09 01:25:56 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-09-09 01:25:56 +0200 |
commit | 7b6d41b5512e656c4abb527e184360a5cadd06c8 (patch) | |
tree | 957ffc1fe20ea9a303dedf731c1eeeaabac945e9 /crawl-ref/source/mutation.h | |
parent | c13fa1dade813fddc02c92a472f27e06691661c3 (diff) | |
download | crawl-ref-7b6d41b5512e656c4abb527e184360a5cadd06c8.tar.gz crawl-ref-7b6d41b5512e656c4abb527e184360a5cadd06c8.zip |
Let mutation_name() return the short name.
It's internally named "wizname" but is accessible to the player, for example
via the lua interface. We also have a "short desc" that often differs, but
that's used only on the % screen.
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r-- | crawl-ref/source/mutation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h index b83c291573..f1689be455 100644 --- a/crawl-ref/source/mutation.h +++ b/crawl-ref/source/mutation.h @@ -86,6 +86,7 @@ bool delete_mutation(mutation_type which_mutation, const string &reason, bool delete_all_mutations(const string &reason); +const char* mutation_name(mutation_type mut); string mutation_desc(mutation_type which_mutat, int level = -1, bool colour = false); |