diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-25 14:49:06 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-25 14:49:06 +0000 |
commit | 2b246a2f1016744c425f9cc9009cfd6b780619b3 (patch) | |
tree | 290c2d7c5378fbc769889cb2c8c077b98e484723 /crawl-ref/source/skills2.cc | |
parent | 54d4d07375bd81654b6b4bca860a4ca8ae045e1e (diff) | |
download | crawl-ref-2b246a2f1016744c425f9cc9009cfd6b780619b3.tar.gz crawl-ref-2b246a2f1016744c425f9cc9009cfd6b780619b3.zip |
Type safety and code cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2569 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r-- | crawl-ref/source/skills2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc index 9e968a45d7..bb3ea4b4d2 100644 --- a/crawl-ref/source/skills2.cc +++ b/crawl-ref/source/skills2.cc @@ -2066,7 +2066,7 @@ std::string skill_title( unsigned char best_skill, unsigned char skill_lev, { // need species name snprintf( title_buff, sizeof(title_buff), tempstr, - species_name(species, 0, true, + species_name(static_cast<species_type>(species), 0, true, (ptr == tempstr && best_skill != SK_NECROMANCY)).c_str() ); // The above code only capitalises start-of-string racenames |