diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-27 07:44:37 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-27 07:44:37 +0000 |
commit | e38d19ed671795b6cb2e177a7f730272ce4f35b0 (patch) | |
tree | 954942a07be20fd5c7ad0cd0f0981880aea107b4 /crawl-ref/source/food.cc | |
parent | a002f27441e428dadaceb5fa28d260140bc1a66c (diff) | |
download | crawl-ref-e38d19ed671795b6cb2e177a7f730272ce4f35b0.tar.gz crawl-ref-e38d19ed671795b6cb2e177a7f730272ce4f35b0.zip |
[1821098] Fixed bat transform not conferring flight. Fixed player_is_levitating and renamed it to player_is_airborne to describe the function better.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2613 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r-- | crawl-ref/source/food.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 160a9c7448..58f887e91d 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -226,7 +226,7 @@ bool butchery(void) 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); @@ -729,7 +729,7 @@ void eat_floor_item(int item_link) bool eat_from_floor(void) { - if (you.flies() == FL_LEVITATE) + if (you.flight_mode() == FL_LEVITATE) return (false); bool need_more = false; |