From b139e1c000042c7cbb5b6285079e0e3a0ef914e6 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 16 Oct 2018 15:49:58 -1000 Subject: [PATCH] Fix space jump --- Runtime/World/CPlayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Runtime/World/CPlayer.cpp b/Runtime/World/CPlayer.cpp index e99eb92b3..11f5ddc62 100644 --- a/Runtime/World/CPlayer.cpp +++ b/Runtime/World/CPlayer.cpp @@ -5707,10 +5707,10 @@ void CPlayer::SetMoveState(EPlayerMovementState newState, CStateManager& mgr) x294_jumpCameraTimer = 0.01f; x2a4_cancelCameraPitch = false; } - x258_movementState = EPlayerMovementState::Jump; - x2ac_surfaceRestraint = ESurfaceRestraints::InAir; - x2a8_timeSinceJump = 0.f; } + x258_movementState = EPlayerMovementState::Jump; + x2ac_surfaceRestraint = ESurfaceRestraints::InAir; + x2a8_timeSinceJump = 0.f; break; case EPlayerMovementState::Falling: if (x258_movementState == EPlayerMovementState::OnGround)