diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-27 00:00:16 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-27 00:00:16 +0000 |
commit | 142db52cf0a402353b1fa4cb8da1a8035964f63d (patch) | |
tree | 67b4f22866981cff235841ee4449c06487d38efc /crawl-ref/source/misc.cc | |
parent | 517f9b7f33af4d09905fae2ab1e295ae066f3859 (diff) | |
download | crawl-ref-142db52cf0a402353b1fa4cb8da1a8035964f63d.tar.gz crawl-ref-142db52cf0a402353b1fa4cb8da1a8035964f63d.zip |
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
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 12 |
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) |