From 133507720a1a1b251ca8444ec5d3913688429efe Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 2 May 2016 15:56:51 +0200 Subject: [PATCH] Make "Print on a separate line" checkbox depend on "Show spree information in death messages" checkbox too --- qcsrc/menu/xonotic/dialog_settings_game_messages.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.2