Skip to content

Commit

Permalink
Move one tile at a time in toggleable auto travel
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrox committed Jan 9, 2020
1 parent e21eed2 commit 394b739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handle_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1710,6 +1710,7 @@ bool game::handle_action()
u.get_pathfinding_settings(),
u.get_path_avoid() );
if( !destination_preview.empty() ) {
destination_preview.erase( destination_preview.begin() + 1, destination_preview.end() );
u.set_destination( destination_preview );
break;
}
Expand Down

0 comments on commit 394b739

Please sign in to comment.