diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-09 18:29:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-09 20:27:19 +0300 |
commit | 91ed82c45df05bc333bb63fbd92e330f9b9701c7 (patch) | |
tree | 4bac4711522e83355dbd83b4ddf2855adff73192 /src/being/localplayer.h | |
parent | 5d2846414b73ebc9a3288622b03493b59fa26be9 (diff) | |
download | manaverse-91ed82c45df05bc333bb63fbd92e330f9b9701c7.tar.gz manaverse-91ed82c45df05bc333bb63fbd92e330f9b9701c7.tar.bz2 manaverse-91ed82c45df05bc333bb63fbd92e330f9b9701c7.tar.xz manaverse-91ed82c45df05bc333bb63fbd92e330f9b9701c7.zip |
Add settings for set distance for start syncyng player.
Default distance is 2 and it good for ping < 500.
But for bigger ping probably need other values.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index ccecb18fb..14d731b74 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -491,6 +491,7 @@ class LocalPlayer final : public Being, std::string mTestParticleName; int mTestParticleTime; unsigned long mTestParticleHash; + int mSyncPlayerMoveDistance; unsigned char mWalkingDir; // The direction the player is walking in. /** Whether or not the name settings have changed */ bool mUpdateName; |