summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 0e76719387..61593ad88a 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -225,7 +225,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);
@@ -732,7 +732,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;