diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-11-13 15:40:54 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-11-13 15:40:54 +0100 |
commit | 1183a5be2602e8790fd9f8fe1f0720c5319f3b57 (patch) | |
tree | d48de3a0f230cab988adb68def435f29839be8cf /crawl-ref/source/l_you.cc | |
parent | 367bed59b4022cfcdee925550d97a4738ade4dd5 (diff) | |
download | crawl-ref-1183a5be2602e8790fd9f8fe1f0720c5319f3b57.tar.gz crawl-ref-1183a5be2602e8790fd9f8fe1f0720c5319f3b57.zip |
Revert most of the lev->flight patch (by code size, not functionality).
This stops wands of paralysis, the Petrify spell, and nets from auto-killing
anything that can fly (ie, a good part of later threats).
Also, this fixes unwinged humanoids from getting wings in tiles and for other
shape considerations.
Unrelated fixes: message when flying up stairs, monsters picking items from
deep water.
Diffstat (limited to 'crawl-ref/source/l_you.cc')
-rw-r--r-- | crawl-ref/source/l_you.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_you.cc b/crawl-ref/source/l_you.cc index d8809242ae..c37b6eddc6 100644 --- a/crawl-ref/source/l_you.cc +++ b/crawl-ref/source/l_you.cc @@ -123,7 +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_flying, boolean, you.is_flying()) +LUARET1(you_flying, boolean, you.flight_mode()) LUARET1(you_transform, string, you.form ? transform_name() : "") LUARET1(you_berserk, boolean, you.berserk()) LUARET1(you_confused, boolean, you.confused()) |