diff options
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); |