summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-03 10:07:38 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-03 10:07:38 +0000
commite3193b3225032156f6de6bfef6159790bb3b9b25 (patch)
tree2ef88292e8307910df786ec3f791c95dffe8e529 /crawl-ref/source/skills2.cc
parent6ebcd3f73efb7cb08807bedd0524d1dfdd6db978 (diff)
downloadcrawl-ref-e3193b3225032156f6de6bfef6159790bb3b9b25.tar.gz
crawl-ref-e3193b3225032156f6de6bfef6159790bb3b9b25.zip
Fix spellcasting ghosts being described as "Ogre-Mage" if the player
happens to be an Ogre. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10483 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index 7aa02cb739..98da26b93f 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -2001,7 +2001,7 @@ std::string skill_title( unsigned char best_skill, unsigned char skill_lev,
break;
case SK_SPELLCASTING:
- if (player_genus(GENPC_OGRE))
+ if (player_genus(GENPC_OGRE, static_cast<species_type>(species)))
{
result = "Ogre-Mage";
break;