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:
parent
b8c25e6bff
commit
57257d057f
@ -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…
Reference in New Issue
Block a user