Skip to content

Commit

Permalink
Fix issue with snapturn not going left if dpad shifting method BOTH i…
Browse files Browse the repository at this point in the history
…s used
  • Loading branch information
narknon committed Sep 12, 2023
1 parent 5bc4102 commit e29830d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mods/vr/FFakeStereoRenderingHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4134,7 +4134,7 @@ __forceinline void FFakeStereoRenderingHook::calculate_stereo_view_offset(
const auto dpad_method = vr->get_dpad_method();

auto turn_degrees = vr->get_snapturn_degrees();
if (dpad_method == VR::RIGHT_TOUCH) {
if (dpad_method == VR::RIGHT_TOUCH || dpad_method == VR::BOTH) {
if (vr->get_right_stick_axis().x < 0) {
turn_degrees = -turn_degrees;
}
Expand Down

0 comments on commit e29830d

Please sign in to comment.