From 42b37fb8606248393a90d463b2a8d8fd016dd1cb Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Wed, 27 Feb 2013 02:05:54 -0500 Subject: [PATCH 1/1] Only the client needs this cvar --- qcsrc/common/notifications.qc | 4 ++-- qcsrc/common/notifications.qh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 5653a6d9a..9260b5b18 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -238,11 +238,11 @@ string Local_Notification_sprintf(string input, string args, { #define ARG_CASE(prog,selected,result) \ #ifdef CSQC \ - #if (prog != ARG_SV) \ + #if (prog != ARG_SV) && (prog != ARG_DC) \ case selected: { arg_slot[sel_num] = result; ++sel_num; break; } \ #endif \ #else \ - #if (prog != ARG_CS) \ + #if (prog != ARG_CS) && (prog != ARG_DC) \ case selected: { arg_slot[sel_num] = result; ++sel_num; break; } \ #endif \ #endif diff --git a/qcsrc/common/notifications.qh b/qcsrc/common/notifications.qh index 8a2695159..07b93c2b1 100644 --- a/qcsrc/common/notifications.qh +++ b/qcsrc/common/notifications.qh @@ -565,7 +565,6 @@ var float autocvar_notification_show_sprees = TRUE; var float autocvar_notification_show_sprees_info = 3; // 0 = off, 1 = target only, 2 = attacker only, 3 = target and attacker var float autocvar_notification_show_sprees_info_newline = FALSE; var float autocvar_notification_show_sprees_info_specialonly = TRUE; -var float autocvar_notification_item_centerprinttime = 1.5; var float autocvar_notification_errors_are_fatal = TRUE; var float autocvar_notification_lifetime_runtime = 0.5; var float autocvar_notification_lifetime_mapload = 10; @@ -574,6 +573,7 @@ var float autocvar_notification_lifetime_mapload = 10; .float FRAG_VERBOSE; void Notification_GetCvars(void); #else +var float autocvar_notification_item_centerprinttime = 1.5; var float autocvar_notification_allow_chatboxprint = 1; // 0 = no, 1 = yes, 2 = forced on for all MSG_INFO notifs var float autocvar_notification_show_sprees_center = TRUE; var float autocvar_notification_show_sprees_center_specialonly = TRUE; -- 2.39.2