diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2010-10-11 15:37:55 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2010-10-11 16:33:42 -0500 |
commit | 3b7b6bf0d38b34766444c0108722a4138d051743 (patch) | |
tree | deec0c02ea55bfb7350e6b497333d573e222cf15 /crawl-ref/source/species.h | |
parent | 9d363587c114eca476b0aeb31beaf183d8c20931 (diff) | |
download | crawl-ref-3b7b6bf0d38b34766444c0108722a4138d051743.tar.gz crawl-ref-3b7b6bf0d38b34766444c0108722a4138d051743.zip |
Move conversion of player to monster species to its own function.
Also, use it to get the species of draconian player illusions in
mon-util.cc.
Diffstat (limited to 'crawl-ref/source/species.h')
-rw-r--r-- | crawl-ref/source/species.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/species.h b/crawl-ref/source/species.h index 6a109551ea..0c9a3729df 100644 --- a/crawl-ref/source/species.h +++ b/crawl-ref/source/species.h @@ -28,6 +28,7 @@ int get_species_index_by_name(const char *name); std::string species_name(species_type speci, bool genus = false, bool adj = false); species_type str_to_species(const std::string &species); +monster_type player_species_to_mons_species(species_type species); // species_type bounds checking. bool is_valid_species(species_type); |