summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-21 21:48:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-21 21:50:53 +0300
commit40dd461c2539caa67a14d64afb62d2b33def58d8 (patch)
tree0805fc595ca1e584c92a14f7afdef40c16879016 /src/being/localplayer.cpp
parentbde5efd020baf48312eb093f120d2b9094d2f994 (diff)
downloadplus-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/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
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())