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/items.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/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 481952398f..32fd5bb188 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1175,13 +1175,6 @@ std::string origin_desc(const item_def &item) bool pickup_single_item(int link, int qty) { - if (you.attribute[ATTR_TRANSFORMATION] == TRAN_AIR - && you.duration[DUR_TRANSFORMATION] > 0) - { - mpr("You can't pick up anything in this form!"); - return (false); - } - if (you.flight_mode() == FL_LEVITATE) { mpr("You can't reach the floor from up here."); @@ -1217,13 +1210,6 @@ void pickup() { int keyin = 'x'; - if (you.attribute[ATTR_TRANSFORMATION] == TRAN_AIR - && you.duration[DUR_TRANSFORMATION] > 0) - { - mpr("You can't pick up anything in this form!"); - return; - } - if (you.flight_mode() == FL_LEVITATE) { mpr("You can't reach the floor from up here."); @@ -2358,12 +2344,6 @@ bool can_autopickup() if (!Options.autopickup_on) return (false); - if (you.attribute[ATTR_TRANSFORMATION] == TRAN_AIR - && you.duration[DUR_TRANSFORMATION] > 0) - { - return (false); - } - if (you.flight_mode() == FL_LEVITATE) return (false); |