Fix space jump

This commit is contained in:
Jack Andersen 2018-10-16 15:49:58 -10:00
parent ad94f2d0f4
commit b139e1c000
1 changed files with 3 additions and 3 deletions

View File

@ -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)