forked from teamnwah/openmw-tes3coop
Fix possible fall damage when switching from falling to flying
This commit is contained in:
parent
00034192dc
commit
d294d7e284
1 changed files with 1 additions and 1 deletions
|
@ -1754,7 +1754,7 @@ void CharacterController::update(float duration)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(mJumpState == JumpState_InAir && !inwater)
|
else if(mJumpState == JumpState_InAir && !inwater && !flying)
|
||||||
{
|
{
|
||||||
forcestateupdate = true;
|
forcestateupdate = true;
|
||||||
jumpstate = JumpState_Landing;
|
jumpstate = JumpState_Landing;
|
||||||
|
|
Loading…
Reference in a new issue