summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc12
1 files changed, 3 insertions, 9 deletions
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<const monsters*>(act);
if (mon->type == MONS_SERPENT_OF_HELL)