summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-04-10 22:35:12 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-04-10 22:53:03 -0400
commit762d21af96ae76fd55c9aa040d09d9a8baa35852 (patch)
tree5d642e1299505401ec99001e69cbf5fe1c3c25da /crawl-ref/source/spl-cast.cc
parent36b3b84791eddd255ee372142ebb2cf203c736b6 (diff)
downloadcrawl-ref-762d21af96ae76fd55c9aa040d09d9a8baa35852.tar.gz
crawl-ref-762d21af96ae76fd55c9aa040d09d9a8baa35852.zip
Remove some more djinn code.
Nothing that changes functionality or that makes the interface looks too weird. In several of the instances the code would be weird after moving to TAG_MAJOR_VERSION 35, so it seems worth it to remove now rather than leaving it around.
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 18729549c0..c5f7e3fba2 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -164,11 +164,6 @@ int list_spells(bool toggle_with_I, bool viewing, bool allow_preselect,
| MF_ALWAYS_SHOW_MORE | MF_ALLOW_FORMATTING,
text_only);
string titlestring = make_stringf("%-25.25s", title.c_str());
- string hungerstring =
-#if TAG_MAJOR_VERSION == 34
- you.species == SP_DJINNI ? "Glow " :
-#endif
- "Hunger";
#ifdef USE_TILE_LOCAL
{
// [enne] - Hack. Make title an item so that it's aligned.
@@ -177,7 +172,7 @@ int list_spells(bool toggle_with_I, bool viewing, bool allow_preselect,
" " + titlestring + " Type "
" Failure Level",
" " + titlestring + " Power "
- "Range " + hungerstring + " Level",
+ "Range " + "Hunger" + " Level",
MEL_ITEM);
me->colour = BLUE;
spell_menu.add_entry(me);
@@ -188,7 +183,7 @@ int list_spells(bool toggle_with_I, bool viewing, bool allow_preselect,
" " + titlestring + " Type "
" Failure Level",
" " + titlestring + " Power "
- "Range " + hungerstring + " Level",
+ "Range " + "Hunger" + " Level",
MEL_TITLE));
#endif
spell_menu.set_highlighter(NULL);