1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-05 18:49:40 +00: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:
David Cernat 2021-10-17 20:14:21 +02:00
parent 20e37204d0
commit 538ccf15cf

View file

@ -120,7 +120,7 @@ void DedicatedPlayer::move(float dt)
ESM::Position refPos = ptr.getRefData().getPosition();
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
bool shouldInterpolate =