diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index d53f45446a..9431fe3675 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -1523,7 +1523,7 @@ static void go_downstairs() if (stairs_check_beheld()) return; - if (shaft && you.flies() == FL_LEVITATE) + if (shaft && you.flight_mode() == FL_LEVITATE) { mpr("You can't fall through a shaft while levitating."); return; @@ -3310,7 +3310,7 @@ static void open_door(int move_x, int move_y, bool check_confused) } else { - mpr( player_is_levitating() ? "You reach down and open the door." + mpr( player_is_airborne() ? "You reach down and open the door." : "You open the door." ); } @@ -3393,7 +3393,7 @@ static void close_door(int door_x, int door_y) } else { - mpr( player_is_levitating() ? "You reach down and close the door." + mpr( player_is_airborne() ? "You reach down and close the door." : "You close the door." ); } |