summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 17:04:28 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 17:04:28 +0300
commitfd202fad9649bbcbd879edf2baca6f907f373890 (patch)
tree671e7d14bce2523902b257331a395355a5746784 /crawl-ref/source/spl-util.cc
parent28f6c800df6bc63658b9c79e803bf81ac282aa1d (diff)
downloadcrawl-ref-fd202fad9649bbcbd879edf2baca6f907f373890.tar.gz
crawl-ref-fd202fad9649bbcbd879edf2baca6f907f373890.zip
Replace uses of spelltype_name with spelltype_long_name.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc35
1 files changed, 0 insertions, 35 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index ef780a4f88..c84dbeb525 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -849,41 +849,6 @@ const char* spelltype_long_name( int which_spelltype )
}
}
-const char *spelltype_name(unsigned int which_spelltype)
-{
- switch (which_spelltype)
- {
- case SPTYP_CONJURATION:
- return ("Conjuration");
- case SPTYP_ENCHANTMENT:
- return ("Enchantment");
- case SPTYP_FIRE:
- return ("Fire");
- case SPTYP_ICE:
- return ("Ice");
- case SPTYP_TRANSMUTATION:
- return ("Transmutation");
- case SPTYP_NECROMANCY:
- return ("Necromancy");
- case SPTYP_HOLY:
- return ("Holy");
- case SPTYP_SUMMONING:
- return ("Summoning");
- case SPTYP_DIVINATION:
- return ("Divination");
- case SPTYP_TRANSLOCATION:
- return ("Translocation");
- case SPTYP_POISON:
- return ("Poison");
- case SPTYP_EARTH:
- return ("Earth");
- case SPTYP_AIR:
- return ("Air");
- default:
- return "Buggy";
- }
-} // end spelltype_name()
-
int spell_type2skill(unsigned int spelltype)
{
switch (spelltype)