Skip to content

Commit

Permalink
Bypass move_effect check if force true when moving vertically (#61641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fris0uman authored Oct 12, 2022
1 parent 26e35a7 commit cd5924e
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 @@ -11234,7 +11234,7 @@ void game::vertical_move( int movez, bool force, bool peeking )
return;
}

if( !u.move_effects( false ) ) {
if( !u.move_effects( false ) && !force ) {
u.moves -= 100;
return;
}
Expand Down

0 comments on commit cd5924e

Please sign in to comment.