summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-09 18:29:27 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-09 20:27:19 +0300
commit91ed82c45df05bc333bb63fbd92e330f9b9701c7 (patch)
tree4bac4711522e83355dbd83b4ddf2855adff73192 /src/gui
parent5d2846414b73ebc9a3288622b03493b59fa26be9 (diff)
downloadplus-91ed82c45df05bc333bb63fbd92e330f9b9701c7.tar.gz
plus-91ed82c45df05bc333bb63fbd92e330f9b9701c7.tar.bz2
plus-91ed82c45df05bc333bb63fbd92e330f9b9701c7.tar.xz
plus-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/gui')
-rw-r--r--src/gui/widgets/tabs/setup_other.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp
index 6b9137dad..186e76fc2 100644
--- a/src/gui/widgets/tabs/setup_other.cpp
+++ b/src/gui/widgets/tabs/setup_other.cpp
@@ -209,6 +209,11 @@ Setup_Other::Setup_Other(const Widget2 *const widget) :
this, "syncPlayerMoveEvent");
// TRANSLATORS: settings option
+ new SetupItemIntTextField(_("Sync player move distance"), "",
+ "syncPlayerMoveDistance",
+ this, "syncPlayerMoveDistanceEvent", 1, 30);
+
+ // TRANSLATORS: settings option
new SetupItemTextField(_("Crazy move A program"), "",
"crazyMoveProgram", this, "crazyMoveProgramEvent");