diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2012-11-07 23:10:57 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2012-11-07 23:10:57 +0000 |
commit | 4d198fdca39795ba784ef4a72ae78b1dc9643f14 (patch) | |
tree | 9377a488907a9ab79fded496875c5c5142c0cd6a /crawl-ref/source/l_you.cc | |
parent | c270398da9427573da54500ead6498ceb014de0b (diff) | |
download | crawl-ref-4d198fdca39795ba784ef4a72ae78b1dc9643f14.tar.gz crawl-ref-4d198fdca39795ba784ef4a72ae78b1dc9643f14.zip |
Replace levitation with flight and remove controlled flight (elliott)
Diffstat (limited to 'crawl-ref/source/l_you.cc')
-rw-r--r-- | crawl-ref/source/l_you.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/l_you.cc b/crawl-ref/source/l_you.cc index efbbb0c8a7..d8809242ae 100644 --- a/crawl-ref/source/l_you.cc +++ b/crawl-ref/source/l_you.cc @@ -123,8 +123,7 @@ LUARET1(you_conservation, boolean, player_item_conserve(false)) LUARET1(you_res_corr, boolean, player_res_corr(false)) LUARET1(you_like_chunks, number, player_likes_chunks(true)) LUARET1(you_saprovorous, number, player_mutation_level(MUT_SAPROVOROUS)) -LUARET1(you_levitating, boolean, you.flight_mode() == FL_LEVITATE) -LUARET1(you_flying, boolean, you.flight_mode() == FL_FLY) +LUARET1(you_flying, boolean, you.is_flying()) LUARET1(you_transform, string, you.form ? transform_name() : "") LUARET1(you_berserk, boolean, you.berserk()) LUARET1(you_confused, boolean, you.confused()) @@ -408,7 +407,6 @@ static const struct luaL_reg you_clib[] = { "gourmand", you_gourmand }, { "conservation", you_conservation }, { "res_corr", you_res_corr }, - { "levitating", you_levitating }, { "flying", you_flying }, { "transform", you_transform }, { "berserk", you_berserk }, |