From: terencehill Date: Mon, 14 Dec 2020 23:54:36 +0000 (+0100) Subject: Fix some oddities X-Git-Tag: xonotic-v0.8.5~641^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cc0c319685b3a4be088119d53e7e46783feca152;p=xonotic%2Fxonotic-data.pk3dir.git Fix some oddities --- diff --git a/qcsrc/menu/xonotic/dialog_settings_audio.qc b/qcsrc/menu/xonotic/dialog_settings_audio.qc index 448135042..c2e3482f5 100644 --- a/qcsrc/menu/xonotic/dialog_settings_audio.qc +++ b/qcsrc/menu/xonotic/dialog_settings_audio.qc @@ -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);