1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-06-20 10:11:35 +00:00

Fix possible fall damage when switching from falling to flying

This commit is contained in:
scrawl 2017-09-17 23:16:49 +00:00
parent 00034192dc
commit d294d7e284

View file

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