diff options
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index d910e5ecc3..c0dc3cf054 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1128,7 +1128,7 @@ bool pickup_single_item(int link, int qty) return (false); } - if (you.flies() == FL_LEVITATE) + if (you.flight_mode() == FL_LEVITATE) { mpr("You can't reach the floor from up here."); return (false); @@ -1170,7 +1170,7 @@ void pickup() return; } - if (you.flies() == FL_LEVITATE) + if (you.flight_mode() == FL_LEVITATE) { mpr("You can't reach the floor from up here."); return; @@ -2951,7 +2951,7 @@ bool can_autopickup() && you.duration[DUR_TRANSFORMATION] > 0) return (false); - if (you.flies() == FL_LEVITATE) + if (you.flight_mode() == FL_LEVITATE) return (false); if ( Options.safe_autopickup && !i_feel_safe() ) |