]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Only the client needs this cvar
authorSamual Lenks <samual@xonotic.org>
Wed, 27 Feb 2013 07:05:54 +0000 (02:05 -0500)
committerSamual Lenks <samual@xonotic.org>
Wed, 27 Feb 2013 07:05:54 +0000 (02:05 -0500)
qcsrc/common/notifications.qc
qcsrc/common/notifications.qh

index 5653a6d9a946e9e8fcc20e5c8641b2660813fd62..9260b5b18a8b7dbed84bf3ce68c1cb0b47ea1d8c 100644 (file)
@@ -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
index 8a2695159260fb2327af9977b26963a6de3cef24..07b93c2b1d706f1dc18f15922e0406872b5dc1a5 100644 (file)
@@ -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;