From: terencehill Date: Mon, 2 May 2016 13:56:51 +0000 (+0200) Subject: Make "Print on a separate line" checkbox depend on "Show spree information in death... X-Git-Tag: xonotic-v0.8.2~932^2~4 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=133507720a1a1b251ca8444ec5d3913688429efe;p=xonotic%2Fxonotic-data.pk3dir.git Make "Print on a separate line" checkbox depend on "Show spree information in death messages" checkbox too --- diff --git a/qcsrc/menu/xonotic/dialog_settings_game_messages.qc b/qcsrc/menu/xonotic/dialog_settings_game_messages.qc index 3029f30ce..2f009a21b 100644 --- a/qcsrc/menu/xonotic/dialog_settings_game_messages.qc +++ b/qcsrc/menu/xonotic/dialog_settings_game_messages.qc @@ -53,7 +53,7 @@ void XonoticGameMessageSettingsTab_fill(entity me) me.TR(me); me.TDempty(me, 0.4); me.TD(me, 1, 2.6, e = makeXonoticCheckBox_T(0, "notification_show_sprees_info_newline", _("Print on a seperate line"), "-")); - setDependent(e, "notification_show_sprees", 1, 1); + setDependentAND(e, "notification_show_sprees", 1, 1, "notification_show_sprees_info", 1, 3); me.TR(me); me.TD(me, 1, 3, e = makeXonoticCheckBoxEx_T(2, 1, "notification_CHOICE_FRAG", _("Add extra frag information to centerprint when available"), "-")); makeMulti(e, "notification_CHOICE_FRAGGED notification_CHOICE_TYPEFRAG notification_CHOICE_TYPEFRAGGED");