]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix "Hit testing:" not disabled when crosshair is disabled
authorterencehill <piuntn@gmail.com>
Sun, 17 Apr 2016 17:13:03 +0000 (19:13 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 17 Apr 2016 17:13:03 +0000 (19:13 +0200)
qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc

index 664306738df38625e1acd1d67ef15b26b4157946..a03c5473127ccd3258438a229c894b4acf8712bf 100644 (file)
@@ -123,6 +123,7 @@ void XonoticGameCrosshairSettingsTab_fill(entity me)
                        setDependent(e, "crosshair_enabled", 1, 2);
        me.TR(me);
                me.TD(me, 1, 1, e = makeXonoticTextLabel(0, _("Hit testing:")));
+                       setDependent(e, "crosshair_enabled", 1, 2);
                me.TD(me, 1, 2, e = makeXonoticTextSlider_T("crosshair_hittest",
                        _("None: do not do hit tests for the crosshair; TrueAim: blur the crosshair when you would not hit the wall; Enemies: also enlarge the crosshair when you would hit an enemy")));
                        e.addValue(e, ZCTX(_("HTTST^Disabled")), "0");