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/acr.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/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." ); } |