Remove unintended jump cooldown (Fixes #4250)

0.6.2
scrawl 7 years ago
parent b8c25e6bff
commit 57257d057f
No known key found for this signature in database
GPG Key ID: 2E6CC3676024C402

@ -1797,7 +1797,7 @@ void CharacterController::update(float duration)
vec.y() *= factor;
vec.z() = 0.0f;
}
else if(vec.z() > 0.0f && mJumpState == JumpState_None)
else if(vec.z() > 0.0f && mJumpState != JumpState_InAir)
{
// Started a jump.
float z = cls.getJump(mPtr);

Loading…
Cancel
Save