Skip to content

Commit

Permalink
read the correct pref for hold to walk/hold to run; fixes #462
Browse files Browse the repository at this point in the history
  • Loading branch information
treellama committed Jan 19, 2024
1 parent 753c52e commit 169cc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source_Files/Misc/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,7 @@ static void controls_dialog(void *arg)
nullptr
};

w_select *run_w = new w_select(input_preferences->modifiers & _inputmod_run_key_toggle ? 2 : input_preferences->modifiers & _inputmod_interchange_swim_sink ? 1 : 0, run_option_labels);
w_select *run_w = new w_select(input_preferences->modifiers & _inputmod_run_key_toggle ? 2 : input_preferences->modifiers & _inputmod_interchange_run_walk ? 1 : 0, run_option_labels);
move_options->dual_add(run_w->label("Run/Swim Behavior"), d);
move_options->dual_add(run_w, d);

Expand Down

0 comments on commit 169cc5b

Please sign in to comment.