From fd202fad9649bbcbd879edf2baca6f907f373890 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Sun, 8 Nov 2009 17:04:28 +0300 Subject: Replace uses of spelltype_name with spelltype_long_name. --- crawl-ref/source/spl-util.cc | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'crawl-ref/source/spl-util.cc') 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) -- cgit v1.2.3-54-g00ecf