1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Remove unintended jump cooldown (Fixes #4250)

This commit is contained in:
scrawl 2017-12-31 23:48:51 +00:00
parent b8c25e6bff
commit 57257d057f
No known key found for this signature in database
GPG Key ID: 2E6CC3676024C402

View File

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