From 142db52cf0a402353b1fa4cb8da1a8035964f63d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 27 Feb 2009 00:00:16 +0000 Subject: Remove all traces of TRAN_AIR and TRAN_SERPENT_OF_HELL, the latter together with the corresponding unused ability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9244 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/misc.cc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index b67114cf6d..21df67c186 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2974,7 +2974,6 @@ std::string your_hand(bool plural) case TRAN_SPIDER: result = "front leg"; break; - case TRAN_SERPENT_OF_HELL: case TRAN_DRAGON: case TRAN_BAT: result = "foreclaw"; @@ -2982,9 +2981,6 @@ std::string your_hand(bool plural) case TRAN_BLADE_HANDS: result = "scythe-like blade"; break; - case TRAN_AIR: - result = "misty tendril"; - break; } if (plural) @@ -3084,11 +3080,9 @@ bool is_dragonkind(const actor *act) } if (act->atype() == ACT_PLAYER) - { - return (you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON - || you.attribute[ATTR_TRANSFORMATION] == TRAN_SERPENT_OF_HELL); - } - // else the actor is a monster + return (you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON); + + // Else the actor is a monster. const monsters* mon = dynamic_cast(act); if (mon->type == MONS_SERPENT_OF_HELL) -- cgit v1.2.3-54-g00ecf