]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some oddities
authorterencehill <piuntn@gmail.com>
Mon, 14 Dec 2020 23:54:36 +0000 (00:54 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 14 Dec 2020 23:54:36 +0000 (00:54 +0100)
qcsrc/menu/xonotic/dialog_settings_audio.qc

index 4481350429c3cc09da9ffcc7f7b3fcf2db0c1fc7..c2e3482f57a8bd6d6aee6fff36c972dcd13a20ef 100644 (file)
@@ -146,15 +146,15 @@ void XonoticAudioSettingsTab_fill(entity me)
                e.sendCvars = true;
        me.TR(me);
                me.TDempty(me, 0.2);
-               me.TD(me, 1, 2.8 / 3, e = makeXonoticRadioButton_T(3, "cl_hitsound", "1", ZCTX(_("SND^Fixed")), _("-")));
+               me.TD(me, 1, 2.8 / 3, e = makeXonoticRadioButton_T(3, "cl_hitsound", "1", ZCTX(_("SND^Fixed")), "-"));
                e.sendCvars = true;
-               setDependent(e, "cl_hitsound", 1, 999);
+               setDependent(e, "cl_hitsound", 1, 3);
                me.TD(me, 1, 2.8 / 3, e = makeXonoticRadioButton_T(3, "cl_hitsound", "2", _("Decreasing"), _("Decrease pitch with more damage")));
                e.sendCvars = true;
-               setDependent(e, "cl_hitsound", 1, 999);
+               setDependent(e, "cl_hitsound", 1, 3);
                me.TD(me, 1, 2.8 / 3, e = makeXonoticRadioButton_T(3, "cl_hitsound", "3", _("Increasing"), _("Increase pitch with more damage")));
                e.sendCvars = true;
-               setDependent(e, "cl_hitsound", 1, 999);
+               setDependent(e, "cl_hitsound", 1, 3);
        me.TR(me);
                me.TD(me, 1, 3, makeXonoticCheckBox(0, "con_chatsound", _("Chat message sound")));
        me.TR(me);