From: terencehill Date: Sun, 17 Apr 2016 17:13:03 +0000 (+0200) Subject: Fix "Hit testing:" not disabled when crosshair is disabled X-Git-Tag: xonotic-v0.8.2~951^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb82c476b09102cd05f638bb9e8ad58e8e815312;p=xonotic%2Fxonotic-data.pk3dir.git Fix "Hit testing:" not disabled when crosshair is disabled --- diff --git a/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc b/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc index 664306738..a03c54731 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_crosshair.qc @@ -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");