summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-09 17:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-09 17:27:11 +0300
commit5d2846414b73ebc9a3288622b03493b59fa26be9 (patch)
tree1eab4da3593f5df2b1631b4edd4c347809151e21
parent6170dab4f22b8766886aa3b5dce06aeff3bc20a7 (diff)
downloadmanaverse-5d2846414b73ebc9a3288622b03493b59fa26be9.tar.gz
manaverse-5d2846414b73ebc9a3288622b03493b59fa26be9.tar.bz2
manaverse-5d2846414b73ebc9a3288622b03493b59fa26be9.tar.xz
manaverse-5d2846414b73ebc9a3288622b03493b59fa26be9.zip
Fix distance to fix if auto fix position disabled to 7.
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index e280adc42..a021184c0 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2468,7 +2468,7 @@ void LocalPlayer::fixPos()
const int dy = abs(mY - mCrossY);
const int dist = dx > dy ? dx : dy;
const int time = cur_time;
- const int maxDist = mSyncPlayerMove ? 2 : 5;
+ const int maxDist = mSyncPlayerMove ? 2 : 7;
if (dist > maxDist)
{