From: Samual Date: Thu, 19 Jan 2012 02:37:58 +0000 (-0500) Subject: Add cl_netlocalping for misc settings X-Git-Tag: xonotic-v0.6.0~129 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fe8acd3fcd7b628ba97f697d86183000b47cdbb7;p=xonotic%2Fxonotic-data.pk3dir.git Add cl_netlocalping for misc settings --- diff --git a/qcsrc/menu/xonotic/dialog_settings_misc.c b/qcsrc/menu/xonotic/dialog_settings_misc.c index bb46fdba3..48a3c3993 100644 --- a/qcsrc/menu/xonotic/dialog_settings_misc.c +++ b/qcsrc/menu/xonotic/dialog_settings_misc.c @@ -39,6 +39,12 @@ void XonoticMiscSettingsTab_fill(entity me) me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Input packets/s:"))); me.TD(me, 1, 2, e = makeXonoticSlider(20, 100, 5, "cl_netfps")); me.TR(me); + if(cvar("developer")) + { + me.TDempty(me, 0.2); + me.TD(me, 1, 0.8, e = makeXonoticTextLabel(0, _("Local latency:"))); + me.TD(me, 1, 2, e = makeXonoticSlider(0, 1000, 25, "cl_netlocalping")); + } me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 1.8, e = makeXonoticTextLabel(0, _("Client UDP port:")));