Skip to content

Commit

Permalink
Downward movement bug fix (#70819)
Browse files Browse the repository at this point in the history
* logic fix

* Update game.cpp
  • Loading branch information
worm-girl authored Jan 11, 2024
1 parent 10db3c0 commit 48ff72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11855,7 +11855,7 @@ void game::vertical_move( int movez, bool force, bool peeking )

if( !force && movez == -1 && !here.has_flag( ter_furn_flag::TFLAG_GOES_DOWN, u.pos() ) &&
!u.is_underwater() && !here.has_flag( ter_furn_flag::TFLAG_NO_FLOOR_WATER, u.pos() ) &&
( u.has_effect( effect_gliding ) && get_map().tr_at( u.pos() ) != tr_ledge ) ) {
!u.has_effect( effect_gliding ) ) {
if( wall_cling && !here.has_floor_or_support( u.pos() ) ) {
climbing = true;
climbing_aid = climbing_aid_ability_WALL_CLING;
Expand Down

0 comments on commit 48ff72a

Please sign in to comment.