From 91ed82c45df05bc333bb63fbd92e330f9b9701c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 May 2016 18:29:27 +0300 Subject: 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. --- src/gui/widgets/tabs/setup_other.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui') 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 @@ -208,6 +208,11 @@ Setup_Other::Setup_Other(const Widget2 *const widget) : new SetupItemCheckBox(_("Sync player move"), "", "syncPlayerMove", 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"); -- cgit v1.2.3-70-g09d2