diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-21 21:48:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-21 21:50:53 +0300 |
commit | 40dd461c2539caa67a14d64afb62d2b33def58d8 (patch) | |
tree | 0805fc595ca1e584c92a14f7afdef40c16879016 /src/being | |
parent | bde5efd020baf48312eb093f120d2b9094d2f994 (diff) | |
download | plus-40dd461c2539caa67a14d64afb62d2b33def58d8.tar.gz plus-40dd461c2539caa67a14d64afb62d2b33def58d8.tar.bz2 plus-40dd461c2539caa67a14d64afb62d2b33def58d8.tar.xz plus-40dd461c2539caa67a14d64afb62d2b33def58d8.zip |
Fix initial reading configuration option sync player move distance.
Also disable second sync check in code.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 9f8ad71c4..7570d113e 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -157,7 +157,7 @@ LocalPlayer::LocalPlayer(const BeingId id, mTestParticleName(), mTestParticleTime(0), mTestParticleHash(0L), - mSyncPlayerMoveDistance(config.getBoolValue("syncPlayerMoveDistance")), + mSyncPlayerMoveDistance(config.getIntValue("syncPlayerMoveDistance")), mUnfreezeTime(0), mWalkingDir(0), mUpdateName(true), @@ -2524,7 +2524,7 @@ void LocalPlayer::setRealPos(const int x, const int y) { mCrossX = x; mCrossY = y; - fixPos(); + //fixPos(); } } if (mMap->isCustom()) |