forked from mirror/openmw-tes3mp
Fix movement desync
I think this should fix all movements desyncs
This commit is contained in:
parent
ab309180c2
commit
fe50394f4d
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ void DedicatedPlayer::Move(float dt)
|
|||
ref_pos.pos[0] = lerp.x();
|
||||
ref_pos.pos[1] = lerp.y();
|
||||
ref_pos.pos[2] = lerp.z();
|
||||
ptr.getRefData().setPosition(ref_pos);
|
||||
world->moveObject(ptr, ref_pos.pos[0], ref_pos.pos[1], ref_pos.pos[2]);
|
||||
}
|
||||
|
||||
MWMechanics::Movement *move = &ptr.getClass().getMovementSettings(ptr);
|
||||
|
|
Loading…
Reference in a new issue