From 264c897bb5eb5d513a49e7bcdef214f85aa5d0ee Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 29 Jan 2020 03:18:33 -0500 Subject: [PATCH] CPlayer: Fix function call mismatch within SidewaysDashAllowed() This function actually calls GetPressInput() here, not GetDigitalInput(). --- Runtime/World/CPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CPlayer.cpp b/Runtime/World/CPlayer.cpp index 6436886f2..8f0a882de 100644 --- a/Runtime/World/CPlayer.cpp +++ b/Runtime/World/CPlayer.cpp @@ -5068,7 +5068,7 @@ bool CPlayer::SidewaysDashAllowed(float strafeInput, float forwardInput, const C return true; } else { if (x304_orbitState != EPlayerOrbitState::NoOrbit && g_tweakPlayer->GetDashEnabled() && - ControlMapper::GetDigitalInput(ControlMapper::ECommands::JumpOrBoost, input) && + ControlMapper::GetPressInput(ControlMapper::ECommands::JumpOrBoost, input) && x288_startingJumpTimeout > 0.f && std::fabs(strafeInput) >= std::fabs(forwardInput) && std::fabs(strafeInput) > 0.01f) { float threshold = std::sqrt(strafeInput * strafeInput + forwardInput * forwardInput) /