mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-22 12:00:13 -04:00
[Client] Use higher interpolation distance for DedicatedPlayers
This makes up for the laggier-looking jumps since the changes to OpenMW's physics system.
This commit is contained in:
parent
20e37204d0
commit
538ccf15cf
@ -120,7 +120,7 @@ void DedicatedPlayer::move(float dt)
|
|||||||
|
|
||||||
ESM::Position refPos = ptr.getRefData().getPosition();
|
ESM::Position refPos = ptr.getRefData().getPosition();
|
||||||
MWBase::World *world = MWBase::Environment::get().getWorld();
|
MWBase::World *world = MWBase::Environment::get().getWorld();
|
||||||
const int maxInterpolationDistance = 40;
|
const int maxInterpolationDistance = 80;
|
||||||
|
|
||||||
// Apply interpolation only if the position hasn't changed too much from last time
|
// Apply interpolation only if the position hasn't changed too much from last time
|
||||||
bool shouldInterpolate =
|
bool shouldInterpolate =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user